Use PowerShell to find all collections where the specified device has a membership

Yesterday I deployed a computer with ConfigMgr and then wondered why it got certain software installed. And so another script was born.

The Get-CMCollectionOfDevice command retrieves all collections where the specified device has a membership

image

The Script can be downloaded from here

 

3 Replies to “Use PowerShell to find all collections where the specified device has a membership”

  1. You can right-click on a Device in the console and select properties. Under the Deployments tab you can see everything that is targeted to it.

Leave a Reply