Remove-CMSoftwareUpdatePoint
Remove-CMSoftwareUpdatePoint
Removes a software update point site system role from Configuration Manager.
構文
Parameter Set: SearchByNameMandatory
Remove-CMSoftwareUpdatePoint -SiteCode <String> -SiteSystemServerName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Remove-CMSoftwareUpdatePoint -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Remove-CMSoftwareUpdatePoint cmdlet removes a software update point site system role from Microsoft System Center 2012 Configuration Manager.
A software update point is a site server role that hosts software updates. System Center 2012 Configuration Manager clients connect to a software update point to get available updates. The software update point interacts with Windows Server Update Services (WSUS) to configure update settings, request synchronization to the update source, and to synchronize software updates from the WSUS database.
You can specify a software update point to remove by site code and the name of the computer that hosts the site system role. You can also use the Get-CMSoftwareUpdatePoint cmdlet to obtain a software update point.
パラメーター
-Force
Performs the action without a confirmation message.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InputObject<IResultObject>
Specifies a software update point object. To obtain a software update point object, use the Get-CMSoftwareUpdatePoint cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteCode<String>
Specifies a site code for a Configuration Manager site.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteSystemServerName<String>
Specifies the name of a computer that hosts the software update point site system role.
エイリアス |
なし |
必須? |
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 a software update point
The command removes a software update point. The cmdlet requires both the site code and the name. Because the command does not include the Force parameter, the cmdlet prompts you for confirmation.
PS C:\> Remove-CMSoftwareUpdatePoint -SiteCode "CM1" -SiteSystemServerName "UpdateSystem.Western.Contoso.com"
Example 2: Remove a software update point by using a variable
The first command gets a software update point and saves it to the $CMSUP variable.
The second command removes the software update point saved in the $CMSUP variable. This command uses the Force parameter, so the cmdlet does not prompt you for confirmation.
PS C:\> $CMSUP = Get-CMSoftwareUpdatePoint -SiteCode "CM1" -SiteSystemServerName "UpdateSystem.Western.Contoso.com"
PS C:\> Remove-CMSoftwareUpdatePoint -InputObject $CMSUP -Force