Export (0) Print
Expand All
Expand Minimize

Add-CMDeviceCollectionToDistributionPointGroup

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Add-CMDeviceCollectionToDistributionPointGroup

Associates a device collection with a distribution point group.

Syntax

Parameter Set: AddDeviceCollectionToDistributionPointGroupById_Id
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionId <String> -DistributionPointGroupId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupById_Name
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionId <String> -DistributionPointGroupName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupById_Object
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionId <String> -DistributionPointGroup <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByName_Id
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionName <String> -DistributionPointGroupId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByName_Name
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionName <String> -DistributionPointGroupName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByName_Object
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionName <String> -DistributionPointGroup <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByObject_Id
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollection <IResultObject> -DistributionPointGroupId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByObject_Name
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollection <IResultObject> -DistributionPointGroupName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeviceCollectionToDistributionPointGroupByObject_Object
Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollection <IResultObject> -DistributionPointGroup <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Add-CMDeviceCollectionToDistributionPointGroup cmdlet associates a device collection with a distribution point group. Distribution point groups provide a logical grouping of distribution points and collections for content distribution. A distribution point group is not limited to distribution points from a single site and can contain one or more distribution points from any site in the hierarchy. When you distribute content to a distribution point group, all distribution points that are members of the distribution point group receive the content. When you add a new distribution point to a distribution point group, it receives all content that it has received in previous distributions.

Parameters

-DeviceCollection<IResultObject>

Specifies the device collection by using a device collection object. To obtain a device collection object, use the Get-CMDeviceCollection cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeviceCollectionId<String>

Specifies the device collection by using an ID.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-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

-DistributionPointGroup<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

-DistributionPointGroupId<String>

Specifies the distribution point group by using an ID.


Aliases

none

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

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: Associate a device collection with a distribution point group by using names

This cmdlet associates the device collection named PhoneCollection05 with the distribution point group named DPG05ContosoWest.


PS C:\> Add-CMDeviceCollectionToDistributionPointGroup -DeviceCollectionName "PhoneCollection05" - DistributionPointGroupName "DPG05ContosoWest"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft