VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

automatic installtion of vmware tools

Hi Luc,

Is there any powerclior any other way to install vmware tools automaticaly .

there is option for updating but i dont see any options for installtion.

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

There is no PowerCLI cmdlet to install VMware Tools, since there is no API method to do that either (like there is for upgrading VMware Tools).
You also can not use Invoke-VMScript, since that requires the presence of VMware Tools.

Most new Linux distributions have VMware Tools integrated, aka GuestManaged.
On a Windows guest OS you will have to use the mechanism that you normally use to install SW, via an agent or manually.

There is an option to install the VMware Tools silently, but that command needs to be given inside the guest OS.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


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

View solution in original post

6 Replies
LucD
Leadership
Leadership
Jump to solution

There is no PowerCLI cmdlet to install VMware Tools, since there is no API method to do that either (like there is for upgrading VMware Tools).
You also can not use Invoke-VMScript, since that requires the presence of VMware Tools.

Most new Linux distributions have VMware Tools integrated, aka GuestManaged.
On a Windows guest OS you will have to use the mechanism that you normally use to install SW, via an agent or manually.

There is an option to install the VMware Tools silently, but that command needs to be given inside the guest OS.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


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

jvm2016
Hot Shot
Hot Shot
Jump to solution

ohh,thanks .for some reasons we are not able to rdp to vm to do installtion of vmware tools.

direct console from webclient behaving weired to enter password .

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

I see the same with some Linux distros.

Did you already try opening the console with the VMRC?


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

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

yes we tried opening the console with vmrc for some reasons keyboard is not working there .may be browser issue but its acting weired .

is there  any filtering options in powerclicheck all vms where tools are not installed??

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

There is KB1008443, but it lists mostly general resolutions for the keyboard issue.

Not sure if any would help in your case.

To get the VMs that are missing the VMware Tools, try like this

Get-VM |

where { $_.ExtensionData.Guest.ToolsStatus -eq 'toolsNotInstalled' } |

Select Name


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

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

Tx.

Reply
0 Kudos