Determine what service pack is installed on remote computers.
This is script with you can determine which service pack is installed on remote computers:
$Catalog = GC "C:\scripts\computers_list.Txt"
ForEach($Machine in $Catalog)
{$QueryString = Gwmi Win32_OperatingSystem -Comp $Machine
Write-Host $Machine ":" $QueryString.caption "Service Pack: " $querystring.servicepackmajorversion}
Comments
Post a Comment