PowerCLI

 View Only
  • 1.  Vmware tools upgrade

    Posted Mar 25, 2025 02:11 PM

    Hi all

    I have downloaded the lates vmware tool msi from Broadcom and I will like to run it on every machine to address a Vulnerability , how can I run the file downloaded and deal with the yes and no to reboot  without user interaction using powercli, so I dont have to do it one by one  , I hope I made sense.

    Thanks a bunch for all the help



  • 2.  RE: Vmware tools upgrade

    Posted Mar 28, 2025 11:11 AM
    Edited by ITSavant Mar 28, 2025 11:11 AM

    PowerCli is for connecting to vSphere products. But it is not designed to do msi installs, that is a just a PowerShell activity, probably using the ActiveDirectory module if needed for Computer collection.

    Really this is more of a Windows forum question, on how to install msi packages. Something like this article: https://powershellcommands.com/install-msi-from-powershell.

    That said you can configure VMs in vCenter to automatically install VMtools, here is the Broadcom KB: https://knowledge.broadcom.com/external/article/316546/installing-and-upgrading-vmware-tools-in.html




  • 3.  RE: Vmware tools upgrade

    Posted Mar 31, 2025 07:18 AM

    If Microsoft Visual C++ is part upgrade, which it is in the case of VMware Tools 12.5.1, I highly recommend NOT using AutoUpdate.  I have had this break many systems in the past due to the installer not being able to locate the older C++ version on the system which is a requirement.  I then had to manually dig out the old installed version, fix networking, etc.