![]() ![]() Note that at the end you have a filter argument that you can customize to make sure you're looking at the right product.Īfter playing a bit with the like operator, you should be able to nail the antivirus description and minor variations here and there. computername "." -filter "Name like '%antivirus%'" ![]() To verify if an AV software is installed, you could use the following PowerShell command - $avSoftware = get-wmiobject -class "Win32_Product" -namespace "root\cimv2" ` This watchdog might be a piece of software running as a service, a scheduled script or even hardware-based if you use something like Intel vPro. The Right Thing To Do™ then is to have a watchdog running on each host to make sure the appropriate software is installed and running. Since you're talking of 15,000 hosts, querying each of them from the network is going to be highly inefficient.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |