Question Locked

add or remove program query

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

i want to find out what are all the installed softwares in a server. for example if there are 150 servers connected in a domain, its a difficult job to log in to the 150 servers and find out the installed using add or remove program.

instead,is there a batch file to pull the details of a software installed in 150 servers automatically to a excel sheet?

thanks in advance.
Regards
Deva

4 replies

by allthegoodnamesweregone

Check out psinfo, it's part of the pstools suite from sysinternals (which was bought by microsoft not too long ago).

With some fairly basic batch skills, you should be able to run that command against a list of machines and dump it all into a csv.

hasn't been tested, but should be something like:

@echo off
FOR /f %%i IN (C:\serverlist.txt) do (
psinfo -s -c \\%%i >> C:\results.csv
)

you could modify the way you do it to have it pull only the information you want, but i think you'll find the additional info pretty useful also.

by devadeepan

Hi,

Thanks for your quick reply. it works and its very informative..

Regards
Deva

by devadeepan

I am able to pull local system details using ps info. but when i try to pull doamin system i am getiing access denied. kindly help....

This discussion is closed to new replies.