Before you can manage vSphere Auto Deploy with rules that you create with PowerCLI cmdlets, you must install PowerCLI.

About this task

In this scenario, you install PowerCLI on the same system as the vCenter Server system. You can also install PowerCLI on a different Windows system.

Prerequisites

  • Verify that Microsoft .NET Framework 4.5 or 4.5.x is installed, or install it from the Microsoft Web site.

  • Verify that Windows PowerShell 3.0 or 4.0 is installed, or install it from the Microsoft Web site.

Procedure

  1. Log in with administrator privileges to the console of the Windows system on which vCenter Server is installed, either directly or by using RDP.
  2. Download PowerCLI from the Download page of the VMware Web site and install the PowerCLI software.
  3. Confirm that PowerCLI is working.
    1. Start a PowerCLI session.
    2. (Optional) : If an SSL error appears, check the thumbprint and ignore the error.
    3. Run the Get-DeployCommand cmdlet.

    PowerCLI displays a list of cmdlets and their definitions in the PowerCLI window.

  4. (Optional) : If Get-DeployCommand does not return the list of cmdlets, check your PowerCLI version and uninstall and reinstall it if necessary.

What to do next

Configure the settings of your target hosts to prepare them for provisioning with vSphere Auto Deploy.