WMI class MSFT_MpComputerStatus is not using?

Pan, Jiayu/潘 家瑜 1 Reputation point
2021-03-03T08:35:50.823+00:00

I wanted to use c++ code to get the state of Windows Defender,but I use WMI to get the MSFT_MpComputerStatus. And I found that there is nothing in it.Is this class is not using?Which method can I use to get the state of Windows Defender

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,099 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,271 Reputation points Microsoft Vendor
    2021-03-03T09:59:37.207+00:00

    Hi,

    The WMI class MSFT_MpComputerStatus is available and the namespace is root/microsoft/windows/defender.

    73791-2021-03-03-175759.png

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments