Defender Cmdlets

Mis à jour: novembre 2015

S'applique à: Windows 10, Windows Server Technical Preview

Windows PowerShell® est un interpréteur de ligne de commande et un langage de script basé sur des tâches et conçu tout spécialement pour l'administration système. Cette rubrique de référence destinée aux professionnels des technologies de l'information fournit une assistance afin d'utiliser les applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

Defender Cmdlets

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 active and 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.

Start-MpWDOScan

Starts a Windows Defender offline scan.

Update-MpSignature

Updates the antimalware definitions on a computer.

Notes

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

Pour plus d'informations sur une applet de commande, ou sur sa syntaxe, utilisez l'applet de commande Get-Help <cmdlet name>, où <cmdlet name> est le nom de l'applet de commande que vous recherchez. Pour plus d'informations, exécutez l'une des applets de commande suivantes :

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full