Automation

 View Only
  • 1.  automatic installtion of vmware tools

    Posted Jul 30, 2019 05:25 AM

    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.



  • 2.  RE: automatic installtion of vmware tools
    Best Answer

    Posted Jul 30, 2019 06:44 AM

    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.



  • 3.  RE: automatic installtion of vmware tools

    Posted Jul 30, 2019 06:48 AM

    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 .



  • 4.  RE: automatic installtion of vmware tools

    Posted Jul 30, 2019 06:57 AM

    I see the same with some Linux distros.

    Did you already try opening the console with the VMRC?



  • 5.  RE: automatic installtion of vmware tools

    Posted Jul 30, 2019 07:09 AM

    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??



  • 6.  RE: automatic installtion of vmware tools

    Posted Jul 30, 2019 07:18 AM

    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



  • 7.  RE: automatic installtion of vmware tools

    Posted Jul 30, 2019 08:46 AM

    Tx.