Below script about install or upgrade VM Tools remotely if you use this script it will complete the job with in max 30 sec’s to 2 min’s.
In this script i have used arguments,totally four arguments i have used via script.
1.I have stored latest VM Tools in /VMTOOLS path
2. Then i transferred VM Tools source file directory/VMTOOLS/vmware-tools-distrub/ to the remote Server /root path.
3.Then i have executed VM Tools installed file remotely.