Remove-CMCloudDistributionPoint
Remove-CMCloudDistributionPoint
Removes cloud-based distribution points.
構文
Parameter Set: SearchByIdMandatory
Remove-CMCloudDistributionPoint -Id <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory
Remove-CMCloudDistributionPoint -Name <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Remove-CMCloudDistributionPoint -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Remove-CMCloudDistributionPoint cmdlet removes specified cloud-based distribution points.
When you remove a distribution point, System Center 2012 Configuration Manager deletes all the content stored there. If you want to suspend a distribution point temporarily, use the Stop-CMCloudDistributionPoint cmdlet.
パラメーター
-Force
Performs the action without a confirmation message.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Id<String[]>
Specifies an array of identifiers for cloud distribution points. You can use a comma separated list.
エイリアス |
AzureServiceId |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InputObject<IResultObject>
Specifies a cloud distribution point object. To obtain a cloud distribution point object, you can use the Get-CMCloudDistributionPoint cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a cloud 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: Remove all distribution points
This command removes all the cloud distribution points from System Center 2012 Configuration Manager. Unless you use the Force parameter, the cmdlet prompts you for confirmation.
PS C:\> Remove-CMCloudDistributionPoint
Example 2: Remove a distribution point using a name
This command removes the cloud distribution point named West01. Unless you use the Force parameter, the cmdlet prompts you for confirmation.
PS C:\> Remove-CMCloudDistributionPoint -Name "West01"
Example 3: Remove a distribution point using an ID
This command removes the cloud distribution point that has the specified identifier. Unless you use the Force parameter, the cmdlet prompts you for confirmation.
PS C:\> Remove-CMCloudDistributionPoint -Id "16777236"