I'm looking for a command to list what antivirus(s) are installed on Windows. If there is currently none installed, I would like it to indicate this.
Thanks a lot
Try using the wmic
command with a findstr
command. Should work on Windows Vista and later
wmic /node:localhost /namespace:\\root\SecurityCenter2 path AntiVirusProduct Get DisplayName | findstr /V /B /C:displayName || echo No Antivirus installed