PowerShell Get-MpComputerStatus

%3CLINGO-SUB%20id%3D%22lingo-sub-305684%22%20slang%3D%22en-US%22%3EPowerShell%20Get-MpComputerStatus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-305684%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BWhy%20when%20i%20Type%26nbsp%3BGet-MpComputerStatus%2C%20i've%20got%20this%20error%20msg%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20837px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F63732i3D5132017B6390CF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3EThanks%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-305684%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-305748%22%20slang%3D%22en-US%22%3ERe%3A%20PowerShell%20Get-MpComputerStatus%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-305748%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20Windows%20Defender%20enabled%20on%20the%20computer%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERun%20the%20following%3A%20(Get-Service%20windefend).Status%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20cmdlet%20will%20return%20the%20service%20status%20of%3A%3C%2FP%3E%3CP%3ERunning%3C%2FP%3E%3CP%3E-%20OR%20-%3C%2FP%3E%3CP%3EStopped%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20try%20starting%20the%20service%3A%20Start-Service%20windefend%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20if%20you%20have%20another%20anti-malware%20product%20installed%20e.g.%20McAfee%2C%20Norton%2C%20etc.%2C%20these%20may%2Fwill%20disable%20Windows%20Defender%20and%20prevent%20the%20service%20from%20starting.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi,

 

 Why when i Type Get-MpComputerStatus, i've got this error msg :

 

Capture.PNGThanks for your help.

1 Reply
Highlighted

Is Windows Defender enabled on the computer?

 

Run the following: (Get-Service windefend).Status

 

The cmdlet will return the service status of:

Running

- OR -

Stopped

 

You can try starting the service: Start-Service windefend

 

However, if you have another anti-malware product installed e.g. McAfee, Norton, etc., these may/will disable Windows Defender and prevent the service from starting.