vb script to read the Antivirus version

5 pts.
Tags:
VBScript
i need a vb script to read the version of the antivirus over 70 servers please help

Answer Wiki

Thanks. We'll let you know when a new response is added.

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}!\\.\root\cimv2″)
Set colSoftware = objWMIService.ExecQuery(“Select * from Win32_Product”)
For Each objSoftware in colSoftware
WScript.echo objSoftware.Caption & vbtab & objSoftware.Version
Next
</pre>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jerry Lees
    Asa, what antivirus software?
    5,335 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following