Windows Defender Cmdlets in Windows PowerShell

Windows PowerShell® es un lenguaje de scripting y shell de línea de comandos basado en tareas diseñado especialmente para la administración del sistema. En este tema de referencia para los profesionales de tecnologías de la información (TI) ofrece ayuda en el uso de los cmdlets de Windows PowerShell para crear scripts y automatizar las tareas.

Defender

This reference provides cmdlet descriptions and syntax for all Defender-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Add-MpPreference

Modifies settings for Windows Defender.

Get-MpComputerStatus

Gets the status of antimalware software on the computer.

Get-MpPreference

Gets preferences for the Windows Defender scans and updates.

Get-MpThreat

Gets the history of threats detected on the computer.

Get-MpThreatCatalog

Gets known threats from the definitions catalog.

Get-MpThreatDetection

Gets past malware threats that Windows Defender detected.

Remove-MpPreference

Removes exclusions or default actions.

Remove-MpThreat

Removes active threats from a computer.

Set-MpPreference

Configures preferences for Windows Defender scans and updates.

Start-MpScan

Starts a scan on a computer.

Update-MpSignature

Updates the antimalware signatures on a computer.

Nota

To list all the cmdlets that are available, use the Get-Command –Module Defender cmdlet.

Para conocer más información o la sintaxis de cualquiera de los cmdlets, use el cmdlet Get-Help <nombre de cmdlet>, donde <nombre de cmdlet> es el nombre del cmdlet del que quiere información. Para obtener información más detallada, puede ejecutar cualquiera de los siguientes cmdlets:

Get-Help <nombre de cmdlet> -Detailed
Get-Help <nombre de cmdlet> -Examples
Get-Help <nombre de cmdlet> -Full