Here’s a couple of methods whereby you can quickly check the update status for a device, updates installed or missing, via WMI Explorer or WBEMtest.
The following Get-WMIObject query will return all Task Sequences that are deployed against a device in ConfigMgr 2012. Feed in a variables. $ResourceName = ‘targeted
When attempting to run a PowerShell script via Orchestrator to connect to the ConfigMgr site server the following error was generated. ‘The following exception occurred