PowerShell: Detect Antivirus Name on a Windows Machine
function getAntivirusName { $wmiQuery = "SELECT * FROM AntiVirusProduct" $antivirus = Get-WmiObject -Namespace "root\SecurityCenter2" -Query…
0 Comments