- VMware vSphere 6.5 Cookbook(Third Edition)
- Abhilash GB Cedric Rajendran
- 152字
- 2025-02-18 00:43:34
How to do it...
The following procedure will guide you through the process of installing PowerCLI and configuring it for first use:
- Go to VMware's download portal at https://my.vmware.com/web/vmware/downloads.
- 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).
- 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.
- Once done, double-click on the PowerCLI desktop icon to bring up the VMware-PowerCLI window.
- Issue the following command to set the execution policy to remotely signed and select Y to execute the policy:
Set-ExecutionPolicy RemoteSigned

- Close the PowerCLI session and re-launch it:

- You are now all set to use the Image Builder cmdlets.