VMware Cloud Community
tdubb123
Expert
Expert

vmware tools upgrade and virtual hardware

how do I find out what vms need vmtools upgrade and or virtual hardware?

0 Kudos
3 Replies
LucD
Leadership
Leadership

For a virtual HW check and upgrade have a look at Arne's 2-part series (Templates & VMs)

For a VMware Tools upgrade, you can do

Get-VM | Update-Tools -NoReboot

If you want to test the Tools version first and only those VMs that have an older version, you could do something like this

Get-VM | |Get-VMToolsVersion | where {$_.ToolsVersion -lt 8194} | Update-Tools -NoReboot


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
tdubb123
Expert
Expert

when i run this

[vSphere PowerCLI] C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI
> get-vm | % { get-view $_.ID } | select Name, @{ Name="ToolsVersion"; Expressio
n={$_.config.tools.toolsVersion}} | ConvertTo-Html | Out-File c:\toolsversion.ht
m

in the html file I am seeing the tools version is 8290, 7302 8195 etc etc....

how do I know what version needs the upgrade? The version number does not match up with my esx version build number

ex my esx version is esxi 4.1 320137

vmware tools version is 8290

0 Kudos
LucD
Leadership
Leadership

I'm afraid there is no documented link between your ESX(i) build and the corresponding VMware Tools version.

I raised the same question some time ago, see my Interpreting config.tools.toolsVersion Values thread.

What I do is that after an upgrade, I install the VMware Tools on a test guest and deduce the VMware Tools version from there.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos