共用方式為


Remove-CMEndpointProtectionPoint

移除 Endpoint Protection 點。

語法

Remove-CMEndpointProtectionPoint
      [-Force]
      -InputObject <IResultObject>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-CMEndpointProtectionPoint
      [-Force]
      [-SiteCode <String>]
      [-SiteSystemServerName] <String>
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Remove-CMEndpointProtectionPoint Cmdlet 會從 Configuration Manager 移除 System Center 2016 Endpoint Protection 點。 如需 Configuration Manager 中 Endpoint Protection 的詳細資訊,請參閱Configuration Manager 中的 Endpoint Protection

注意事項

從Configuration Manager月臺磁片磁碟機執行 Configuration Manager Cmdlet,例如 PS XYZ:\> 。 如需詳細資訊,請 參閱開始使用

範例

範例 1:移除 Endpoint Protection 點

PS XYZ:\> Remove-CMEndpointProtectionPoint -SiteSystemServerName "CMServer01.Contoso.com" -SiteCode "CM1"

此命令會移除 Endpoint Protection 點。

範例 2:使用輸入物件移除 Endpoint Protection 點

PS XYZ:\> $EPP = Get-CMEndpointProtectionPoint -SiteCode "CM1" -SiteSystemServerName "CMServer01.Contoso.com"
PS XYZ:\> Remove-CMEndpointProtectionPoint -InputObject $EPP

第一個命令會使用 Get-CMEndpointProtectionPoint Cmdlet 來取得 Endpoint Protection 點物件,並將它指派給變數$EPP。

第二個命令會移除指派給變數$EPP的 Endpoint Protection 點物件。

參數

-Confirm

執行 Cmdlet 之前提示您確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

-DisableWildcardHandling

此參數會將萬用字元視為常值字元值。 您無法將其與 ForceWildcardHandling結合。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Force

強制命令在不要求使用者確認的情況下執行。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ForceWildcardHandling

此參數會處理萬用字元,並可能導致非預期的行為 (不建議) 。 您無法將其與 DisableWildcardHandling結合。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

指定這個 Cmdlet 的輸入。 若要取得輸入物件,請使用 Get-CMEndpointProtectionPoint Cmdlet。

類型:IResultObject
別名:EndpointProtectionPoint
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-SiteCode

指定月臺碼。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SiteSystemServerName

指定裝載月臺系統角色之伺服器的完整功能變數名稱 (FQDN) 。

類型:String
別名:Name, ServerName
Position:0
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示執行 Cmdlet 時會發生什麼情況。 Cmdlet 不會執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject