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.
Prerequisites
If you want to manage vSphere ESXi Image Builder with
PowerCLI cmdlets, verify that Microsoft .NET Framework 4.5 or 4.5.x and Windows PowerShell 3.0 or 4.0 are installed on a Microsoft Windows system. See the
PowerCLI User's Guide.
Procedure
- 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 VMware.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.