Skip to main content

Installing VMWare PowerCLI

Brief

In order to customize a VMWare Installation media, VMWare PowerCLI needs to be installed. VMWare PowerCLI is a group of PowerShell scripts that enable quick and easy modification of ESXi. As of verson 6.5.1, PowerCLI can be install through the PowerShell Gallery. Follow the instructions below to install the repository and module.

Installing the Repository

  1. With PowerShell open as an Administrator, type Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
  2. Press Enter.
  3. Check the Installation Policy using the Get-PSRepository command.

image-1650554410072.png

Installing the Module

  1. With PowerShell open as an Administrator, type Install-Module -Name VMware.PowerCLI
  2. Press Enter.