Expand Minimize
This topic has not yet been rated - Rate this topic

Get-CMDeviceCollectionExcludeMembershipRule

Updated: March 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Get-CMDeviceCollectionExcludeMembershipRule

Gets the exclude membership rules from one or more device collections in the Configuration Manager hierarchy.

Syntax

Parameter Set: ByCollectionNameAndExcludeCollectionName
Get-CMDeviceCollectionExcludeMembershipRule -CollectionName <String> -ExcludeCollectionName <String> [ <CommonParameters>]

Parameter Set: ByCollectionIdAndExcludeCollectionId
Get-CMDeviceCollectionExcludeMembershipRule -CollectionId <String> -ExcludeCollectionId <String> [ <CommonParameters>]

Parameter Set: ByCollectionIdAndExcludeCollectionName
Get-CMDeviceCollectionExcludeMembershipRule -CollectionId <String> -ExcludeCollectionName <String> [ <CommonParameters>]

Parameter Set: ByCollectionNameAndExcludeCollectionId
Get-CMDeviceCollectionExcludeMembershipRule -CollectionName <String> -ExcludeCollectionId <String> [ <CommonParameters>]

Parameter Set: ByCollectionValueAndExcludeCollectionId
Get-CMDeviceCollectionExcludeMembershipRule -Collection <IResultObject> -ExcludeCollectionId <String> [ <CommonParameters>]

Parameter Set: ByCollectionValueAndExcludeCollectionName
Get-CMDeviceCollectionExcludeMembershipRule -Collection <IResultObject> -ExcludeCollectionName <String> [ <CommonParameters>]




Detailed Description

The Get-CMDeviceCollectionExcludeMembershipRule cmdlet retrieves the rules that exclude the members of another collection from the device collections where the rule is applied. You can specify the device collections where the rule is applied by using their names, Ids, or by specifying an object that represents the collections. You can specify the collection whose members are excluded by using its name, Id, or an object that represents the collection.

Configuration Manager dynamically updates the membership of the device collection on a schedule if the membership of the excluded collection changes. For more information about membership rules, see Introduction to Collections in Configuration Manager.

Parameters

-Collection<IResultObject>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-CollectionId<String>

Specifies the Ids of the device collections where the rule is applied.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-CollectionName<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ExcludeCollectionId<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ExcludeCollectionName<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.