Remove-CMEndpointProtectionPoint

Remove-CMEndpointProtectionPoint

Removes an Endpoint Protection point.

Syntax

Parameter Set: SearchByNameMandatory
Remove-CMEndpointProtectionPoint -SiteCode <String> -SiteSystemServerName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Remove-CMEndpointProtectionPoint -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Remove-CMEndpointProtectionPoint cmdlet removes a System Center 2012 Endpoint Protection point from Microsoft System Center 2012 Configuration Manager. For more information about Endpoint Protection in Configuration Manager, see the Endpoint Protection in Configuration Manager topic in the Technet library at https://go.microsoft.com/fwlink/?LinkId=268427.

Parameters

-Force

Performs the action without a confirmation message.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies the input to this cmdlet. To obtain an input object, use the Get-CMEndpointProtectionPoint cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies a site code.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

Specifies a fully qualified domain name (FQDN) of the server that hosts the site system role.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Remove an Endpoint Protection point

This command removes an Endpoint Protection point.

PS C:\> Remove-CMEndpointProtectionPoint -SiteSystemName "CMServer01.Contoso.com" -SiteCode "CM01" 

Example 2: Remove an Endpoint Protection point by using an input object

This example removes an Endpoint Protection point by using an input object.

The first command uses the Get-CMEndpointProtectionPoint cmdlet to get an Endpoint Protection point object and assign it to the variable $EPP.

The second command removes the Endpoint Protection point object that is assigned to the variable $EPP.

PS C:\> $EPP = Get-CMEndpointProtectionPoint -SiteCode "CM01" -SiteSystemName "CMServer01.Contoso.com" 
PS C:\> Remove-CMEndpointProtectionPoint -InputObject $EPP

Add-CMEndpointProtectionPoint

Get-CMEndpointProtectionPoint