Get-MpComputerStatus returns no output

%3CLINGO-SUB%20id%3D%22lingo-sub-1098696%22%20slang%3D%22en-US%22%3EGet-MpComputerStatus%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098696%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eon%20a%20Server%202019%20with%20windows%20defender%20installed%20in%20the%20%22Windows%20Security%20GUI%22%20all%20is%20fine.%3C%2FP%3E%3CP%3EProtection%20definitions%20are%20up%20to%20date%2C%20exclusions%20are%20set%20...%20(managed%20with%20SCCM)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20i%20use%20the%26nbsp%3BGet-MpComputerStatus%20it%20returns%20no%20output.%20(not%20even%20an%20error)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1098696%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20Defender%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2161272%22%20slang%3D%22en-US%22%3ERe%3A%20Get-MpComputerStatus%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2161272%22%20slang%3D%22en-US%22%3EI'm%20having%20the%20same%20issue.%20Did%20you%20get%20this%20resolved%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162097%22%20slang%3D%22en-US%22%3ERe%3A%20Get-MpComputerStatus%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162097%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F82300%22%20target%3D%22_blank%22%3E%40Timothy%20Carroll%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20run%20the%20command%26nbsp%3B%3C%2FP%3E%3CP%3Ewhat%20do%20you%20see%20in%20the%20Windows%20Event%20Log%26nbsp%3B%3C%2FP%3E%3CP%3EApplication%20and%20Services%20Log%20%5C%20Microsoft%20%5C%20Windows%20%5C%20PowerShell%20%5COperational%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162139%22%20slang%3D%22en-US%22%3ERe%3A%20Get-MpComputerStatus%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162139%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20also%20experiencing%20this%20issue.%20no%20output%20from%26nbsp%3BGet-MpComputerStatus%20or%26nbsp%3BGet-MpPreference%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Enothing%20logged%20to%26nbsp%3B%3CSPAN%3EMicrosoft%5CWindows%5CPowerShell%5COperational%20when%20running%20the%20commands%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162143%22%20slang%3D%22en-US%22%3ERe%3A%20Get-MpComputerStatus%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162143%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F118516%22%20target%3D%22_blank%22%3E%40moache%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20Right-Click%20on%20it%2C%20can%20you%20click%20on%20Enable%20Logging%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello,

 

on a Server 2019 with windows defender installed in the "Windows Security GUI" all is fine.

Protection definitions are up to date, exclusions are set ... (managed with SCCM)

 

But when i use the Get-MpComputerStatus it returns no output. (not even an error)

 

Please help.

10 Replies
I'm having the same issue. Did you get this resolved?

@Timothy Carroll 

When you run the command 

what do you see in the Windows Event Log 

Application and Services Log \ Microsoft \ Windows \ PowerShell \Operational

Hi

 

Im also experiencing this issue. no output from Get-MpComputerStatus or Get-MpPreference,

 

nothing logged to Microsoft\Windows\PowerShell\Operational when running the commands

@moache 

If you Right-Click on it, can you click on Enable Logging?

@farismalaeb logging is enabled already for that log, just that when running the PowerShell commands nothing is logged the event viewer

Hi

Run the following command

Get-CimInstance -ClassName MSFT_MpComputerStatus -Namespace root/microsoft/windows/defender 

There are no entries in that log when I execute any of the Get-Mp* commands.
There is no output when I query that WMI namespace and class. I also tried Get-WmiObject -Namespace root\Microsoft\protectionmanagement -Class MSFT_MpComputerStatus which also had no output.

 

2021-02-24_00009_LOVEBIRD.png

Here is a screenshot.

@Timothy Carroll 

Is Windows Defender registered and working fine, 

is it Enabled or there is a policy which disables it ?!