Add-CMDeviceCollectionToDistributionPointGroup

Add-CMDeviceCollectionToDistributionPointGroup

Associates a device collection with a distribution point group.

構文

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

詳細説明

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.

パラメーター

-DeviceCollection<IResultObject>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DeviceCollectionId<String>

Specifies the device collection by using an ID.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DeviceCollectionName<String>

Specifies the device collection by using a name.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DistributionPointGroupId<String>

Specifies the distribution point group by using an ID.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DistributionPointGroupName<String>

Specifies the distribution point group by using a name.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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"

関連トピック

Remove-CMDeviceCollectionFromDistributionPointGroup