WMI for MECM Client - View Deployments

shockoMS 281 Reputation points
2024-03-01T14:21:15.35+00:00

I'm running MECM 2309. I see the client installed a tonne of WMI classes. I'd like to be able to see the clients view of the collections it a membe of (perhpas it doesn't have or need this kbnowledge ) and deployments, software thats applicable to it. Reading the schema here WMI namespaces and classes for reports - Configuration Manager | Microsoft Learn it's not apparent to me where I might find this. 

Microsoft System Center | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 40,376 Reputation points Microsoft External Staff
    2024-03-04T08:17:52.2466667+00:00

    Hi @shockoMS ,

    Thank you for posting in Microsoft Q&A forum.

    Do you mean to use WMI class to query which collections a client is member of? If yes, we can use the SMS_FullCollectionMembership class to achieve this. For example, we can use below WMI query in the root\sms\site_com (site name of my environment) namespace to list all the collections that client1 device belongs to:

    SELECT SMS_Collection.* FROM SMS_FullCollectionMembership inner join SMS_Collection

    on SMS_FullCollectionMembership.CollectionID = SMS_Collection.CollectionID

    where name = 'client1'

    collection query 1

    collection query2

    Refer to: SMS_FullCollectionMembership Server WMI Class

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Simon Ren-MSFT 40,376 Reputation points Microsoft External Staff
    2024-03-21T02:52:21.3233333+00:00

    Hi,

    Hope everything goes well. Do you need any further assistance about this issue? If yes, please feel free to let us know, we will do our best to help you.

    If the response is helpful, it's appreciated that you could click "Accept Answer" and upvote it, this will help other users to search for useful information more quickly.

    Thanks for your time.

    Best regards,

    Simon

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.