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

Remove-CMUserCollectionIncludeMembershipRule

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.]

Remove-CMUserCollectionIncludeMembershipRule

Removes an include membership rule from one or more user collection in the Configuration Manager hierarchy.

Syntax

Parameter Set: ByCollectionNameAndIncludeCollectionName
Remove-CMUserCollectionIncludeMembershipRule -CollectionName <String> -IncludeCollectionName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByCollectionIdAndIncludeCollectionId
Remove-CMUserCollectionIncludeMembershipRule -CollectionId <String> -IncludeCollectionId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByCollectionIdAndIncludeCollectionName
Remove-CMUserCollectionIncludeMembershipRule -CollectionId <String> -IncludeCollectionName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByCollectionNameAndIncludeCollectionId
Remove-CMUserCollectionIncludeMembershipRule -CollectionName <String> -IncludeCollectionId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByCollectionValueAndIncludeCollectionId
Remove-CMUserCollectionIncludeMembershipRule -Collection <IResultObject> -IncludeCollectionId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByCollectionValueAndIncludeCollectionName
Remove-CMUserCollectionIncludeMembershipRule -Collection <IResultObject> -IncludeCollectionName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-CMUserCollectionIncludeMembershipRule cmdlet removes an include rule from the specified collections. You can specify the user collections by using their names, Ids, or by specifying an input object that represents the collections.

For more information about collection 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 user collections.


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

-Force

Specifies whether you want to suppress the confirmation message that Configuration Manager displays at the command line before the rule is removed.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-IncludeCollectionId<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-IncludeCollectionName<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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.