cmd查看目标主机上的杀毒软件.md
列表项目
wmic /namespace:\\root\securitycenter2 path antivirusproduct get displayname,productstate,pathtosignedproductexe
将wmic命令和findstr命令
wmic /node:localhost /namespace:\\root\SecurityCenter2 path AntiVirusProduct Get DisplayName | findstr /V /B /C:displayName || echo No Antivirus installed
杀软信息
wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct get * /value
查看正在运行的杀软
WMIC /Node:localhost /Namespace:\\root\SecurityCenter2 Path AntiVirusProduct Get displayName /Format:List