How to check Microsoft Defender Antivirus status on AVD

Answer Correct answer: B — Run the Get-MpComputerStatus cmdlet to check the Microsoft Defender Antivirus status on Host1.

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?

  1. Get-DscConfigurationStatus
  2. Get-MpComputerstatus Correct Answer
  3. Get-KdsConfiguration
  4. Get-BCStatus

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests knowledge of Windows Defender PowerShell cmdlets, where the common trap is confusing Malware Protection (MP) cmdlets with unrelated status cmdlets like DSC or BranchCache.

The Get-MpComputerStatus PowerShell cmdlet is used to check the status of Microsoft Defender Antivirus on an Azure Virtual Desktop session host. This page confirms the correct command to retrieve Malware Protection details.

Choosing Get-DscConfigurationStatus or Get-BCStatus because they contain the word Status, but they apply to Desired State Configuration and BranchCache respectively, not Defender.

Community Discussion (3 comments)

davans888 👍 3 Selected: B
How to easily remember: MP = Malware Protection
jeff1988 👍 2 Selected: B
B. Get-MpComputerStatus This cmdlet retrieves the status of Microsoft Defender Antivirus, including information about the antivirus signature version, last scan time, and other relevant details.
Bonesurfer 👍 2
Correct 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.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The Get-MpComputerStatus cmdlet is specifically designed to retrieve the status of Microsoft Defender Antivirus on a local computer. Running this on an Azure Virtual Desktop session host returns crucial security details such as real-time protection status, antivirus signature versions, and the last scan time. The "Mp" prefix stands for Malware Protection, directly aligning with Microsoft Defender's core function.

Why the Other Options Are Wrong

Get-DscConfigurationStatus is used for checking the status of PowerShell Desired State Configuration (DSC), not antivirus software. Get-KdsConfiguration retrieves settings for the Microsoft Group Key Distribution Service (KDS), which is unrelated to endpoint protection. Get-BCStatus checks the status of BranchCache, a technology for optimizing WAN bandwidth, and has nothing to do with Microsoft Defender.

Community Comment Notes

Community members correctly identified the cmdlet by relying on the "MP" prefix, as davans888 noted, "MP = Malware Protection". Another commenter, jeff1988, highlighted that the cmdlet retrieves "information about the antivirus signature version, last scan time" which confirms its specific applicability to Defender.

Official Reference

Exam Strategy

Memorize the PowerShell cmdlet prefixes for Windows features; for example, "Mp" stands for Malware Protection (Defender), "Dsc" for Desired State Configuration, and "Bc" for BranchCache. This helps quickly eliminate incorrect options on the exam.

Related Analysis

Practice All AZ-140 Questions

Access 64 questions with complete answers and detailed explanations.

View Full AZ-140 Practice Test →

← Back to AZ-140 Study Guide