Hello,
I am trying to get some Information About Windows Defender using the PowerShell Get-MpComputerstatus CMDLet.
But i only get different Errors depending on the System.
I tried this on following Windows Configurations and got following Errors:
- Windows 10 Enterprise 1903 Build 18362.959 (Windows Defender Aktive)
The Problem is, that when i try to use the cmdlet i get following errors: Get-MpComputerStatus : Fehler beim Vorgang: 0x800106ba In Line:1 Char:1+ Get-MpComputerStatus+ ~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (MSFT_MpComputerStatus:ROOT\Microsoft\...pComputerStatus) [Get-MpComputerS tatus], CimException+ FullyQualifiedErrorId : HRESULT 0x800106ba,Get-MpComputerStatus
- Windows 10 Enterprise 1809 Build 17763.1339 (Defender not Aktive)
Get-MpComputerStatus : The extrinsic Method could not be executed.
In Line:1 Char:1+ Get-MpComputerStatus+ ~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : MetadataError: (MSFT_MpComputerStatus:ROOT\Microsoft\...pComputerStatus) [Get-MpComputerStatus], CimException+ FullyQualifiedErrorId : MI RESULT 16,Get-MpComputerStatus
- Windows 10 Enterprise 1803 Build 17134.1610 (Other Antivirus Programm (McAfee))
Get-MpComputerStatus : Es ist ein allgemeiner Fehler aufgetreten, für den kein spezifischerer Fehlercode verfügbar ist. In Zeile:1 Zeichen:2 + Get-MpComputerStatus+ ~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (MSFT_MpComputerStatus:ROOT\Microsoft\...pComputerStatus) [Get-MpComputerStatus], CimException+ FullyQualifiedErrorId : HRESULT 0x800106ba,Get-MpComputerStatus
What am i trying to do is to find out if Windows Defender is Active or not.
I wanted to do this with the Get-MpComputerStatus cmdlet but as you already know i get These Errors and i dont know why thes occur.
Help would be Appreciated :D .