How did you get "Show Appoved Patches"? I am looking for a WMI Query that can be run locally on a machine to gather this information to add it to DCM as a configuration item.
It's not so easy :-);
The Function "ApprovedUpdateIDs" from the library (https://sccmclictrlib.codeplex.com/SourceControl/changeset/view/18504#59022) does get the approved Update-Id's from the WMI Class: root\ccm\Policy\Machine\RequestedConfig:CCM_UpdateCIAssignment. This Class has an Attribute "AssignedCIs" which contains an embeded XML with all Approved Updates ID's (/CI/ApplicabilityCondition/ApplicabilityRule/UpdateId)…
Once you know the approved UpdateId's you can get more details from ROOT\ccm\SoftwareUpdates\UpdatesStore:CCM_UpdateStatus
Thank you very much! This is a huge help. I think we can get what we are looking for now to make the CI for DCM to show approved patch status.
Log in to post a comment.