Sunday, December 1, 2013

PowerShell cmdlets for Windows Defender with Windows 8.1

Windows 8.1 includes PowerShell cmdlets for the local Windows Defender service.  A list of cmdlets can be obtained by using the command Get-Command –Module defender.

powershell_defender_windows81_1

The cmdlet Get-MpComputerStatus will display overall details of the Windows Defender service.

powershell_defender_windows81_2

The Get-MpPreference will display parameters for the application.

powershell_defender_windows81_3

The cmdlet Update-MpSignature will start the signature update process.

powershell_defender_windows81_4

Manual scans can be executed by using the Start-MpScan cmdlet.

powershell_defender_windows81_5

The Get-MPThreatDetection cmdlet should display any threats that have been found.  In this example, no detected threats were present.

powershell_defender_windows81_6

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.