VMware Cloud Community
John4321
Contributor
Contributor
Jump to solution

The cmdlet "Update-Tools": What happens to the VMware Tools components when I use "Update-Tools"?

Hi

I want to use PowerCLI scripting to update VMware Tools.

The cmdlet that I believe I should use is Update-Tools

However, I also want to be able to control which components are installed on the VM.

However, the "Update-Tools" cmdlet doesn't appear to allow you to do this.

My questions are:

  1. Can you control the VMware Tools components installed when using the cmdlet Update-Tools?
  2. If you do use the cmdlet "Update-Tools", does it:
    • Reset components to "default" irrespective of the original component configuration on the VM?
    • Retain the component configuration on the VM (i.e. if VMCI drivers are not installed prior to the update, the cmdlet "Update-Tools" will not update them"?

Many thanks in advance for your help.

Thanks

John

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Yes, you can use Invoke-VMScript to launch the update with the components you require.

See for example Re: Update tools & Vsield drivers from a vapp


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

View solution in original post

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

Yes, you can use Invoke-VMScript to launch the update with the components you require.

See for example Re: Update tools & Vsield drivers from a vapp


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

Reply
0 Kudos