Not to mention:
For advertisement information:
get-wmiobject -query "SELECT * FROM CCM_SoftwareDistribution" -namespace
"root\ccm\policy\machine\actualconfig"
get-wmiobject -query "SELECT * FROM CCM_SoftwareBase" -namespace
"ROOT\ccm\ClientSDK"
and
For execution history:
([wmi]"ROOT\ccm:SMS_Client=@").ClientVersion
Get-ChildItem -path "HKLM:\SOFTWARE\Microsoft\SMS\Mobile Client\Software
Distribution\Execution History" -Recurse | % { get-itemproperty -path
$_.PsPath }
All client side WMI courtesy of SCCMCliCtr from Roger Zander
http://sccmclictr.codeplex.com/
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