VMware Cloud Community
samojitd
Contributor
Contributor

VMware Tools

Hello Techies,

Is their any script to install VMware Tools from scratch for all types of OS(which includes all flavors of Windows, RHEL and CentOs)? I mean after doing P2V migrations is their any scripted way to install VMware Tools. Currently I have script to update (using Update-Tools) the VMware Tools -- which is useful only for V2V migrations. I need something  for P2V migrations.

Any help will be much appreciated.

Thanks,

Samojit

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

You need to be able to run commands inside the guest OS, and since there no VMware Tools yet, you can't use Invoke-VMScript.

Do you have remote access in one way or another to the guest OS in these VMs?

With Windows boxes you could consider using a remote PSSession, for Linux based VMs you could use a SSH session.

But these need to be available, are they?


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

Reply
0 Kudos
samojitd
Contributor
Contributor

Hello LucD,

So what I have understood is at vCenter level we dont have any scripts. Either we can manually install the VMware Tools or using PSSession (for Windows) and SSH (for Linux).

Kindly correct me if am wrong.

Thanks,

Samojit Das

Reply
0 Kudos
LucD
Leadership
Leadership

There are other ways, but yes, these two are the most obvious ones.
You will have to make the installation files accessible on the VM (that could be done through a Mount-Tools).
But then you still need to execute one, or more, commands inside the guest OS.


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

Reply
0 Kudos