Bits, Bytes, & Radio Waves

A quiet journey through discovery and understanding.

VMware Agents Install Script

Order of Agent Install

  1. VMware Tools
  2. VMware Horizon Agent
  3. VMware Dynamic Environment Manager (DEM) Agent (Optional)
  4. VMware App Volumes Agent
# https://kb.vmware.com/s/article/2118048
# https://powershellexplained.com/2016-10-21-powershell-installing-msi-files/

#
# Install VMware Horizon Agent
#
Start-Process C:\ImageBuild\agents\VMware-Horizon-Agent-x86_64-7.13.0-16975066.exe -Wait -ArgumentList '/s /v"/qn VDM_VC_MANAGED_AGENT=1 ADDLOCAL=BlastUDP,ClientDriveRedirection,Core,FLASHMMR,HelpDesk,NGVC,PerfTracker,RDP,RTAV,SmartCard,ThinPrint,TSMMR,V4V,VmVideo,VMWMediaProviderProxy,VmwVaudio,VmwVidd VDM_FIPS_ENABLED=1 REBOOT=ReallySuppress /l*v C:\ImageBuild\logs\HorizonAgent-Install.log"'

#
# Install VMware Dynamic Environment Manager (DEM) Agent
#
Start-Process msiexec.exe -Wait -ArgumentList '/i "C:\ImageBuild\agents\VMware Dynamic Environment Manager Enterprise 10.1 x64.msi" /qn NOADCONFIGFILEPATH="\\synology.aaronrombaut.com\Dynamic Environment Manager\dem-configuration\general" /l*v C:\ImageBuild\logs\DEMAgent-Install.log'

#
# Install VMware App Volumes Agent
#
Start-Process msiexec.exe -Wait -ArgumentList '/i "C:\ImageBuild\agents\App Volumes Agent.msi" /norestart /qn MANAGER_ADDR=app-001v.aaronrombaut.com MANAGER_PORT=443 EnforceSSLCertificateValidation=1 /l*v C:\ImageBuild\logs\AppVolumesAgent-Install.log'

This file can be downloaded below. Make sure to view the contents before running. Change the file extension to .ps1.