Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

VBScript to get the version of VMware Tools version on VM's....

$
0
0

Does anyone have an easy way via vbscript to get the version of VMware Tools that's installed on a VM?

 

I need to install the VMCI\VShield option of VMware tools on all the VM's in the farm.

I have already written the script that enumerates the VM's CPU Architecture of either "X86" or "AMD64" and that determines which executable of setup.exe or setup64.exe to run.

 

Why do I need to know this? Because some VM's reside in a cluster where the hosts are either 5.5 or 5.1 or 5.0 and I am pretty sure the VMware tools are different. Getting the tools version will let me know which version of the tools setup to execute.

Someone correct me if I'm wrong here.

 

Why VBScript and not powershell? Because we have a lot of 2003 Servers and the Admins for the 2008 and 2012 don't setup powershell for a remotesigned.

 

VBScript will run native with no problem and hopefully I can get past the dang requirement of "Run as Administrator".

 

Thanks


Viewing all articles
Browse latest Browse all 24426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>