SCCM PowerShell One-Liners

List outstanding software updates targeted at a remote client: Get-WmiObject -ComputerName “PC123” -query “SELECT * FROM CCM_SoftwareUpdate” -namespace “ROOT\ccm\ClientSDK” |Select -Property PSComputerName, Name, ArticleID List outstanding applications targeted at a remote client: Get-WmiObject -ComputerName “PC123” -query “SELECT * FROM CCM_Application” -namespace “ROOT\ccm\ClientSDK” |Where-Object {$_.InstallState -eq “NotInstalled”}|Select -Property PSComputerName, FullName, InstallState Invoke Application Deployment Evaluation to … Continue reading SCCM PowerShell One-Liners