How to do it...

The following procedure will guide you through the process of installing PowerCLI and configuring it for first use:

  1. Go to VMware's download portal at https://my.vmware.com/web/vmware/downloads.
  2. At the downloads page, using the search field to look up VMware PowerCLI and download VMware PowerCLI 6.5 Release 1 (at the time of reading, you might find a newer version. Install the most recent version to proceed).
  3. Run the VMware-PowerCLI-6.5.0 installer as an administrator and progress through the wizard screens with the default options and click Finish. The installation is straightforward and needs no special configuration.
  4. Once done, double-click on the PowerCLI desktop icon to bring up the VMware-PowerCLI window.
  5. Issue the following command to set the execution policy to remotely signed and select Y to execute the policy:
Set-ExecutionPolicy RemoteSigned
  1. Close the PowerCLI session and re-launch it:
  1. You are now all set to use the Image Builder cmdlets.