Welcome to TechNet Blogs Sign in | Join | Help

Virtualization Nation: Scripting VM Additions Version Check

Do you have the right versions of VM Additions on all your VMs? Here's a handy script to check and report:

 

Set oVS = WScript.CreateObject("VirtualServer.Application")

Set oVmCollection = oVS.VirtualMachines

 

For each oVm in oVmCollection

If oVm.State = 5 then

                wscript.echo oVm.Name & ", " & oVm.GuestOS.AdditionsVersion

else

                wscript.echo oVm.Name & ", n/a"

End If

 

Next

Published Friday, July 13, 2007 2:03 PM by tonyso

Comments

No Comments

New Comments to this post are disabled
 
Page view tracker