Get-CimInstance -Namespace root\SecurityCenter2 -Class AntiVirusProduct ---> Not workong on Windows server 2016

hooked 1 Reputation point

I am trying to fetch the installed AV/EDR software on Windows Server 2016,
I tried to execute Get-CimInstance -Namespace root\SecurityCenter2 -Class AntiVirusProduct
The namespace does not exist.

How can i fetch is properly?


Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,401 questions
{count} votes

1 answer

Sort by: Most helpful
  1. hooked 1 Reputation point

    For Windows Server 2016 the EDR Block mode not supported,
    From MSDN
    Currently, running Microsoft Defender Antivirus in passive mode is not supported on Windows Server 2016
    Get-MPComputerStatus | select AMRunningMode returns empty

    I will get Windows Server 2019 to check.

    In addition for the Windows Server 2016 I see defender is installed and running, but still powershell throwing exception :(



    0 comments No comments