Remove-CMDeviceCollectionFromDistributionPointGroup
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
Remove-CMDeviceCollectionFromDistributionPointGroup
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
Removes the association between a device collection and a distribution point group without prompting you for confirmation.
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"
