SourceForge has been redesigned. Learn more.

Show Appoved Patches WMI Query

  • James L Gandy II

    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.

  • Roger

    Roger - 2012-09-05

    It's not so easy :-);

    The Function "ApprovedUpdateIDs" from the library ( 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



  • James L Gandy II

    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.