Here is a quick snippet to show current status of Microsoft Antimalware on your Windows 10 computer.
Clear-Host
Write-Host
Write-Host "CURRENT STATUS " -Foregroundcolor yellow -BackgroundColor red
Write-Host
Get-MpComputerStatus | Select-Object AMEngineversion,AMProductVersion,AntispywareSignatureLastUpdated,AntivirusEnabled,OnAccessProtectionEnabled,BehaviorMonitorEnabled,IoavProtectionEnabled,RealTimeProtectionEnabled
Write-Host
Write-Host "CURRENT STATUS " -Foregroundcolor yellow -BackgroundColor red
Write-Host
Get-MpComputerStatus | Select-Object AMEngineversion,AMProductVersion,AntispywareSignatureLastUpdated,AntivirusEnabled,OnAccessProtectionEnabled,BehaviorMonitorEnabled,IoavProtectionEnabled,RealTimeProtectionEnabled
You will quickly get status of your Antimalware such as:
- Engine version
- Product version
- Antivurs signature last updated
- Enabled Scan on Access
- Behavior Monitor Enabled
- Real Time Protection enabled
Obviously you can add more options to the status.