View Single Post
Old 04-12-2007   #1 (permalink)
Damon


 
 

How to check service packs on remote computers.

Hello,
I am wanting to write a script that will take a list of server names and
return the OS and service pack level.
I have written
$ser= get-Content c:\wmi\servers.txt
Get-WmiObject win32_osrecoveryconfiguration -computername $ser |
Format-Table __server, name
This gives a list of the server and the OS but not the Service Pack level.

Thanks for any help
My System SpecsSystem Spec