Fixed line 21 errors and added a pause for execution

Execute-Assembly
Harley Lebeau 2018-03-15 13:28:22 -06:00 committed by GitHub
parent 6ff009a75b
commit 818f865413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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