Querying Antivirus info on a Windows Server OS?

Welcome Forums General PowerShell Q&A Querying Antivirus info on a Windows Server OS?

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years, 2 months ago.

  • Author
    Posts
  • #29028

    Participant
    Points: 0
    Rank: Member

    Get-WmiObject -Namespace root\securitycenter2 -class antivirusproduct

    That works on modern versions of client Windows and gets me good info, but that namespace doesn't exist on server OSes. Does anyone know of any place in WMI or the registry where I can query similar information on a Windows server?

    I know worse case scenario I can parse installed application descriptions for *anti*virus* but I was hoping I could get more fine tuned info.

  • #29029

    Keymaster
    Points: 1,639
    Helping HandTeam Member
    Rank: Community Hero

    The WMI namespace doesn't exist on server computers. It's client-only functionality.

The topic ‘Querying Antivirus info on a Windows Server OS?’ is closed to new replies.