Collection Membership Rules List

It would be nice to be able to right-click on a collection, and list all of the membership rules associate with that collection. Here is the powershell equivalent:


$Collection = "COLLECTON NAME"

Get-CMDeviceCollectionDirectMembershipRule -CollectionName $Collection | Select-Object RuleName

Get-CMDeviceCollectionExcludeMembershipRule -CollectionName $Collection | Select-Object RuleName

Get-CMDeviceCollectionIncludeMembershipRule -CollectionName $Collection | Select-Object RuleName

Get-CMDeviceCollectionQueryMembershipRule -CollectionName $Collection | Select-Object RuleName

  • Guest
  • Jul 19 2021
  • Needs review
  • Attach files
  • +2