Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Remove-CMDeviceCollectionFromDistributionPointGroup

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Remove-CMDeviceCollectionFromDistributionPointGroup

Removes the association between a device collection and a distribution point group.

Syntax

Parameter Set: SearchByIdMandatory
Remove-CMDeviceCollectionFromDistributionPointGroup -DeviceCollectionName <String> -DistributionPointGroupId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Remove-CMDeviceCollectionFromDistributionPointGroup -DeviceCollectionName <String> -DistributionPointGroupName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Remove-CMDeviceCollectionFromDistributionPointGroup -DeviceCollectionName <String> -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-CMDeviceCollectionFromDistributionPointGroup cmdlet removes the association between a device collection and a distribution point group. Distribution point groups provide a logical grouping of distribution points and collections for content distribution.

Parameters

-DeviceCollectionName<String>

Specifies the device collection by using a name.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DistributionPointGroupId<String>

Specifies the distribution point group by using an ID.


Aliases

GroupId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DistributionPointGroupName<String>

Specifies the distribution point group by using a name.


Aliases

GroupName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Performs the action without a confirmation message.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies the distribution point group by using an object that contains a distribution point group. To obtain such an object, use the Get-CMDistributionPointGroup cmdlet.


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.

Examples

Example 1: Remove the association between a device collection and a distribution point group by using names

This command removes the association between the device collection named PhoneCollection05 and the distribution point group named DPG05ContosoWest.


PS C:\> Remove-CMDeviceCollectionFromDistributionPointGroup -DeviceCollectionName "PhoneCollection05" - DistributionPointGroupName "DPG05ContosoWest"

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.