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
  • Will not implement
  • Attach files
  • Admin
    Chris Muster commented
    23 Aug, 2021 08:14pm

    What is the use case for this vs right clicking on a collection in the console, going to properties, and looking at the membership rules tab?

  • +2