Add-CMUserCollectionToDistributionPointGroup
Add-CMUserCollectionToDistributionPointGroup
Associates members of a user collection to a distribution point group.
構文
Parameter Set: AddUserCollectionToDistributionPointGroupById_Id
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupId <String> -UserCollectionId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupById_Name
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupName <String> -UserCollectionId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupById_Object
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroup <IResultObject> -UserCollectionId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByName_Id
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupId <String> -UserCollectionName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByName_Name
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupName <String> -UserCollectionName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByName_Object
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroup <IResultObject> -UserCollectionName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByObject_Id
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupId <String> -UserCollection <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByObject_Name
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroupName <String> -UserCollection <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddUserCollectionToDistributionPointGroupByObject_Object
Add-CMUserCollectionToDistributionPointGroup -DistributionPointGroup <IResultObject> -UserCollection <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Add-CMUserCollectionToDistributionPointGroup cmdlet associates members of a user collection to a distribution point group. A distribution point group is a set of distribution points that you can manage as a single entity.
After you distribute content to a collection, and then associate the collection to a new distribution point group, you must redistribute the content to the collection before the content is distributed to the new distribution point group.
パラメーター
-DistributionPointGroup<IResultObject>
Specifies a CMDistributionPointGroup object. To obtain a CMDistributionPointGroup object, use the Get-CMDistributionPointGroup cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroupId<String>
Specifies an ID of a distribution point group.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroupName<String>
Specifies the name of a distribution point group.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserCollection<IResultObject>
Specifies a CMUserCollection object. To obtain a CMUserCollection object, use the Get-CMUserCollection cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserCollectionId<String>
Specifies an ID of a user collection.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UserCollectionName<String>
Specifies the name of a user collection.
エイリアス |
なし |
必須? |
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 user collection with a distribution point group by using a name
This command associates the user collection named UserCollection05 with the distribution point group named DPG05ContosoWest.
PS C:\> Add-CMDeviceCollectionToDistributionPointGroup -UserCollectionName "UserCollection05" -DistributionPointGroupName "DPG05ContosoWest"