The Microsoft Sysinternals PsInfo utility can do that for you.  PsInfo is a command-line tool that gathers key information about the local or remote Windows system.

Today’s example is how to get the operating system version for a list of computers, such as this list:
computerlist - yes they are surnames of people who work in a particular field. No, my computers are not named like this. Yes, I do do know the story of the deployment guy who named his deployment computers after porn stars.

So to get the information, we use PsInfo like this:

psinfo -c kernel \\@computerlist.txt

-c                                   tells PsInfo we want a comma-delimited list.
kernel             tells PsInfo we ONLY want the kernel field
\\@computerlist.txt tells PsInfo to use the list of computers in the computerlist.txt file.

Here’s the output after we press Enter:
psinfo kernel results

PsInfo can be found here: http://technet.microsoft.com/en-us/sysinternals/bb897550.aspx

Bookmark and Share

Comments are closed.