Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Antivirus check error #2

@ZhymabekRoman

Description

@ZhymabekRoman

How can I reproduce this error: https://www.apponfly.com/

Get-MpComputerStatus : Invalid class                                                                                    At line:41 char:6                                                                                                       + IF ((Get-MpComputerStatus).AntivirusEnabled) {                                                                        +      ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : MetadataError: (MSFT_MpComputerStatus:ROOT\Microsoft\...pComputerStatus) [Get-MpComputer
   Status], CimException
    + FullyQualifiedErrorId : HRESULT 0x80041010,Get-MpComputerStatus

and

Get-MpComputerStatus : Invalid class
At line:87 char:6
+ IF ((Get-MpComputerStatus).AntivirusEnabled) {
+      ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : MetadataError: (MSFT_MpComputerStatus:ROOT\Microsoft\...pComputerStatus) [Get-MpComputer
   Status], CimException
    + FullyQualifiedErrorId : HRESULT 0x80041010,Get-MpComputerStatus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions