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

Comments (0)