First you'll need to know where in the OS the version of the Anti-Virus is stored. If it's in the registry or a file it's easy to get. But without knowing where it's stored a specific solution can't be recommended.
Most anti-virus solutions are managed and come with a console which can report on the status of each server. The version is usually included.
You may tailor the script below:
<pre>
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\.rootcimv2")
Set colSoftware = objWMIService.ExecQuery("Select * from Win32_Product")
For Each objSoftware in colSoftware
WScript.echo objSoftware.Caption & vbtab & objSoftware.Version
Next
</pre>
Last Wiki Answer Submitted: May 29, 2008 10:21 am by Denny Cherry64,550 pts.
All Answer Wiki Contributors: Denny Cherry64,550 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Asa, what antivirus software?