honestvip Posted April 14, 2015 Report post Posted April 14, 2015 I need a query that will find devices that have avira anti-virus Quote Share this post Link to post Share on other sites More sharing options...
0 amirjafarian Posted April 14, 2015 Report post Posted April 14, 2015 I used this to find symantec AV: $computers = Get-ADComputer -Filter * foreach ($computer in $computers) { $SymServices = Get-WmiObject -ComputerName $computer.Name Win32_Service -Property Caption -ErrorAction SilentlyContinue |where {$_.Caption -like "*Symantec*"} if ($SymServices.Count -gt 0) { Write-Host "$($computer.Name) protected by Symantec" } } Quote Share this post Link to post Share on other sites More sharing options...
0 honestvip Posted April 14, 2015 Report post Posted April 14, 2015 i need sql quey for Collection Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted April 14, 2015 Report post Posted April 14, 2015 SQL is used for Report, WQL is use for Collections, In either case you will find lots of example here. http://smsug.ca/tags/WQL/default.aspx 1 Quote Share this post Link to post Share on other sites More sharing options...
I need a query that will find devices that have avira anti-virus
Share this post
Link to post
Share on other sites