Select Page

Connect to vCenter Server via PowerCLI

You will need to initially download and install VMware PowerCLI via the VMware website, It can be downloaded here – https://my.vmware.com/group/vmware/get-download?downloadGroup=PCLI600R1 (You may need to login)

Once installed you will need to open the software, you will be presented with the following command if you have not previously changed your Powershell execution policy.

Powercli Execution Policy Error - Connect to vCenter Server via PowerCLI

To enable PowerCLI to work, I have used the below command to change my execution policy to unrestricted. This is not recommended in production environments.

Set ExecutionPolicy Unrestricted - Connect to vCenter Server via PowerCLI

You will now need to connect to your vCenter via PowerCLI. This can be completed by running the below command –

Connect-VIServer -Server HOSTNAME

 

Pin It on Pinterest

Share This