VMware Cloud Community
YanSi
Enthusiast
Enthusiast

How to Use PowerCLI Install VMware Tools ?

How to use PowerCLI in the new Windows system install VMware Tools?

Thank you

0 Kudos
4 Replies
LucD
Leadership
Leadership

Basically you would use the Update-Tools cmdlet like this

Get-VM -Name MyVM | Update-Tools

But I would suggest you also have a look at the thread, it contains several methods for installing/upgrading the VMware Tools.

____________

Blog: LucD notes

Twitter: lucd22


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

0 Kudos
YanSi
Enthusiast
Enthusiast

Thank you !!!

But this is the way to upgrade installed

I hope to get a new install vmware-tools on windows Server 2008 R2 command

What command?

0 Kudos
LucD
Leadership
Leadership

Ok, I see.

The Mount-Tools doesn't help either.

Even if you have autorun enabled, the setup that starts is not an unattended setup.

The only way to do an unattended, initial install is to use a SW deployment tool or to launch the msiexec command remotely.

If you have PowerShell remote session enabled on the new guest, you could use a PowerShell remote session to start the installation. See for example Windows PowerShell Remoting.

The other option is to use your SW deployment tool. Have a look at this document which shows how you can do the unattended install.

____________

Blog: LucD notes

Twitter: lucd22


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

0 Kudos
YanSi
Enthusiast
Enthusiast

Thank you LucD

Because the new system is not installed VMware Tools, so there is no network connection virtual machine.

But this also can use Windows PowerShell Remoting?

Should I only use the msiexec command virtual machine unattended installation?

Windows x64

msiexec-i "D: \ VMware Tools64.msi" ADDLOCAL = ALL REMOVE = Audio, Hgfs, VMXNet, WYSE, GuestSDK, VICFSDK, VAssertSDK / qn

Can not use PowerCLI install VMware Tools to the virtual machine?

0 Kudos