WMI class MSFT_MpComputerStatus is not using?

Pan, Jiayu/潘 家瑜 1 Reputation point

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

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.
4,946 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 32,236 Reputation points Microsoft Vendor


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


    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