And to get the compliance of an update deployment:

get-wmiobject -query "SELECT * From CCM_AssignmentCompliance" -namespace 
"root\ccm\SoftwareUpdates\DeploymentAgent"

From: [email protected] [mailto:[email protected]] On 
Behalf Of David O'Brien
Sent: 16 October 2014 05:06
To: [email protected]
Subject: [mssms] Status of required deployments

Hi all,

Before I go and check in my lab and potentially reinvent the wheel, has anybody 
got a query at hand that can be executed on a ConfigMgr client and check if it 
has installed all required deployments?

In this case I am specifically talking about Software Updates, but I guess that 
doesn't matter.

I know I looked at something similar a while ago, but can't remember which WMI 
class I chose back then.

Background: I'm writing a workflow that puts a machine into a collection, the 
machine receives its new policies (software update deployments), installs them 
and after it has done that, I need to continue with other machines. That's why 
I need to find out at what time it's done installing everything.

Thanks,
David




Reply via email to