nerdexam
Microsoft

AZ-140 · Question #249

You have an Azure Virtual Desktop session host named Host1. You need to check the status of Microsoft Defender Antivirus on Host1. Which PowerShell cmdlet should you run?

The correct answer is B. Get-MpComputerstatus. The cmdlet Get-MpComputerStatus provides detailed information about the status of Microsoft Defender Antivirus, including real-time protection status, last scan time, and other key security insights for Windows Defender on the session host.

Submitted by neha2k· Apr 18, 2026Plan and implement identity and security

Question

You have an Azure Virtual Desktop session host named Host1. You need to check the status of Microsoft Defender Antivirus on Host1. Which PowerShell cmdlet should you run?

Options

  • AGet-DscConfigurationStatus
  • BGet-MpComputerstatus
  • CGet-KdsConfiguration
  • DGet-BCStatus

How the community answered

(54 responses)
  • A
    4% (2)
  • B
    87% (47)
  • C
    7% (4)
  • D
    2% (1)

Explanation

The cmdlet Get-MpComputerStatus provides detailed information about the status of Microsoft Defender Antivirus, including real-time protection status, last scan time, and other key security insights for Windows Defender on the session host.

Topics

#Microsoft Defender Antivirus#PowerShell#Security Monitoring#Session Host Management

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice