Updated with correct GWMI command

Execute-Assembly
Harley Lebeau 2018-02-15 10:50:29 -07:00 committed by GitHub
parent fb0e752ad3
commit 11176cae00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ alias AV_Query {
blog($1, "\cBDetermining what AntiVirus is installed...");
bpowerpick!($1, $powershellcmd);
bpowerpick!($1, "wmic /Namespace:\\\\root\\SecurityCenter2 Path AntiVirusProduct Get displayName,pathtoSignedProductExe");
bpowerpick!($1, "Get-WmiObject -Namespace "root\SecurityCenter2" -Query "SELECT * FROM AntiVirusProduct" | select-object displayName,pathToSignedReportingExe,timestamp| fl");
}