create a list of software’s installed on remote pc
i can run a command to get list of software’s on remote pc but one by one
can i do that with a list of computer name in a txt file and export it to a file ?
Thanks
Pete,
Welcome to the forum.
Have you at least tried to search for a solution first? What you asked for is a very very very common task. It has been asked a thousand times before and it has been answered already a thousand times before. There are more than enough examples for tasks like this out there. You don’t have to re-invent the wheel again.
Regardless of that …
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
To push you to the right direction you may follow some of the search hits from Google:
https://www.google.com/search?q=PowerShell+determine+software+remote+pc
Thanks Olaf for the search tip.
I did notice some results still reference Win32_Product … which is not the best approach. I have also spent extensive time putting together a script for this purpose some time back and found the PowerShell 5.1 Get-Package to not be as useful as the Registry approaches which is what I wound up using and would be my vote.
Just offering my $.02
It’s even worse I’d say …
That’s the most useful in most cases I think. But since POJ did not specify the specific requirements he has we’ll never know.
But my point actually is - why don’t try beginners to search for an already existing solution first … before they start tinkering around or before they ask for help in forum? For 99.99% of the beginner tasks there is a ready to use solution availabe. Or at least one you could adapt with minimal effort …
i did try some command like this : Get-WmiObject -ComputerName computername -Class Win32_Product | sort-object Name
but i need to do it one by one
i will investigate the forum to find info
registries approch cpuld be good also
thanks