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

Popular posts from this blog

Cisco VPN client 5.0.07.0410 and Windows 10 Problems (Solved)

Find hard disk bad sectors (error 7) if exist on remote computers - Script 2017

Script for remote cancel all print job