Before you can run vSphere ESXi Image Builder cmdlets, you must install PowerCLI and all prerequisite software. The vSphere ESXi Image Builder snap-in is included with the PowerCLI installation.
- Open PowerShell on your workstation.
- Download a version of PowerCLI later than PowerCLI 6.5R1 from the PowerCLI home page.
- To install all PowerCLI modules, run the command:
Install-Module VMware.PowerCLI -Scope CurrentUser. Alternatively, you can install individual PowerCLI modules by running the Install-Module cmdlet with the module name.If you see a warning that you are installing modules from an untrusted repository, press y and then press Enter to confirm the installation.
You can verify that the PowerCLI module is available by using the command
Get-Module -Name VMware.PowerCLI -ListAvailable.
What to do next
Review Using vSphere ESXi Image Builder Cmdlets. If you are new to PowerCLI, read the PowerCLIUser's Guide.
Use vSphere ESXi Image Builder cmdlets and other PowerCLI cmdlets and PowerShell cmdlets to manage image profiles and VIBs. Use Get-Help cmdlet_name at any time for command-line help.