Monday, 11 June 2012

Remotely search ARP for SCCM hotfixes with PowerShell

Here is a quick PS command I created to search a remote SCCM site server to check which hotfixes we had already installed. In this instance I was just reviewing a single server however it could easily be extended by first reading a list of server names from a text file with the get-content cmdlet.

Get-wmiobject -computername server01 -Class SMS_InstalledSoftware -namespace root\cimv2\sms | where {$_.ARPDisplayName -like "*configmgr*"} | format-wide

No comments:

Post a Comment