Add-CMDistributionPointToGroup
Add-CMDistributionPointToGroup
Adds a distribution point to a distribution point group.
構文
Parameter Set: AddDistributionPointToGroupById_Id
Add-CMDistributionPointToGroup -DistributionPointGroupId <String> -DistributionPointId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupById_Name
Add-CMDistributionPointToGroup -DistributionPointGroupName <String> -DistributionPointId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupById_Object
Add-CMDistributionPointToGroup -DistributionPointGroup <IResultObject> -DistributionPointId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByName_Id
Add-CMDistributionPointToGroup -DistributionPointGroupId <String> -DistributionPointName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByName_Name
Add-CMDistributionPointToGroup -DistributionPointGroupName <String> -DistributionPointName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByName_Object
Add-CMDistributionPointToGroup -DistributionPointGroup <IResultObject> -DistributionPointName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByObject_Id
Add-CMDistributionPointToGroup -DistributionPoint <IResultObject> -DistributionPointGroupId <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByObject_Name
Add-CMDistributionPointToGroup -DistributionPoint <IResultObject> -DistributionPointGroupName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AddDistributionPointToGroupByObject_Object
Add-CMDistributionPointToGroup -DistributionPoint <IResultObject> -DistributionPointGroup <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Add-CMDistributionPointToGroup cmdlet adds a distribution point to a distribution point group. Distribution point groups provide a logical grouping of distribution points for content distribution.
You can add one or more distribution points from any site in the Microsoft System Center 2012 Configuration Manager hierarchy to the distribution point group. You can also add the distribution point to more than one distribution point group so that you can manage and monitor content from a central location for distribution points that span multiple sites.
パラメーター
-DistributionPoint<IResultObject>
Specifies a distribution point object. To obtain a CMDistributionPoint object, use the Get-CMDistributionPoint cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroup<IResultObject>
Specifies a distribution point group object. To obtain a CMDistributionPointGroup object, use the Get-CMDistributionPointGroup cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointGroupId<String>
Specifies the 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 |
-DistributionPointId<String>
Specifies the ID of a distribution point.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointName<String>
Specifies the name of a distribution point.
エイリアス |
なし |
必須? |
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: Add a distribution point to a group
This command adds the distribution point that has the Id FA921CF2-89C9-407D-A21D-FE6947F2C00A to the distribution point group named DPG01.
PS C:\> Add-CMDistributionPointToGroup -DistributionPointGroupName "DPG01" -Id "{FA921CF2-89C9-407D-A21D-FE6947F2C00A}"