Skip to content

Upgrade VMware Tools

#Export the CVS from the flash client 6.5.

#Save your ExportList.csv.

Import-Csv ExportList.csv |

foreach {

#Pulls  the var from the CSV

#”guestToolsUnmanaged|10304″ is a test value I want to avoid upgrading.
$strNewVMName = $_. “Name”
$toolsVersion = $_. “VMware Tools Version Status”

if( $toolsVersion -ne “guestToolsUnmanaged|10304” ){echo “requires upgrade” + $strNewVMName

  #Update VMtools without reboot
    Get-VM $strNewVMName | Update-Tools –NoReboot
      write-host “Updated $strNewVMName —— ” }


{echo “does not require upgrade” + $strNewVMName}






Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: