Roger Zander at

Command to install all pending SW Updates on a CM12 Client...

The following PowerShell command will install all approved updates (also those without a deadline) on a ConfigMgr2012 Client:

([wmiclass]'ROOT\ccm\ClientSDK:CCM_SoftwareUpdatesManager').InstallUpdates([System.Management.ManagementObject[]] (get-wmiobject -query "SELECT * FROM CCM_SoftwareUpdate" -namespace "ROOT\ccm\ClientSDK"))

To install only the updates with a deadline:





Posted: Nov 20 2012, 02:12 PM by rzander | with no comments
Filed under: , ,


No Comments