Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-MpThreat

Remove-MpThreat

msft_mpthreatdetection.cdxml, msft_mpthreatcatalog.cdxml, msft_mpthreat.cdxml, msft_mpsignature.cdxml, msft_mpscan.cdxml, msft_mppreference.cdxml, msft_mpcomputerstatus.cdxml

Synopsis

Removes active threats from a computer.

Syntax

Remove-MpThreat [-CimSession] [-InformationAction] [-InformationVariable] [-ThrottleLimit] [<CommonParameters>]

Detailed Description

The Remove-MpThreat cmdlet removes all active threats that Windows Defender detected on a computer.

Parameters

-CimSession <CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-InformationAction <System.Management.Automation.ActionPreference[]>

Aliases

infa

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-InformationVariable <System.String[]>

Aliases

iv

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-ThrottleLimit <Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

none

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Remove active threats from a computer

This command removes all active threats from the local computer.

PS C:\> Remove-MpThreat

Online Version
Get-MpThreat
Get-MpThreatCatalog
Get-MpThreatDetection