For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configure VMware PowerCLI for use by Remote Desktop Manager

The VMware PowerCLI is used by Remote Desktop Manager to interact with vSphere/vCenter in three distinct cases:

  • Getting the list of virtual machines from a vSphere/vCenter

  • Performing operations on these virtual machines (start, stop, etc)

  • Launching a VMware Remote Console

As a service to our community, we provide the procedure to get the PowerCLI up and running. Please remember that this is not a product of Devolutions and that we have no control over breaking changes that may occur between versions of the PowerCLI. You should always refer to the manufacturer's documentation.

Procedure

  1. Ensure that PowerShell's script execution policy is configured. Please refer to Script Execution Policy.

  2. Launch VMware vSphere PowerCLI using the shortcut on your system, this is the 64 bit version (using Run As Administrator).

  3. Launch VMware vSphere PowerCLI (32-bit), adjust both windows side by side(using Run As Administrator).

  4. In both windows, set the SSL certificate setting of your choice. Obviously deploying a valid certificate on the vSphere server and trusting the Certification Authority is the most secure route. In secure environments or in a low-risk setting, we simply set to ignore. set-PowerCLIConfiguration -invalidCertificateAction "ignore" -confirm:$false

  5. Connect to a vSphere/vCenter server. If there are prompts by the PowerCLI, respond accordingly. Connect-VIServer {your server}

  6. Run the following command to see if there are error messages: Get-View -ViewType VirtualMachine | select -Property Name, {$_.Moref.Value};

If you see no error messages, you can close both PowerCLIs and you are now ready to test it using Remote Desktop Manager.

Last updated

Was this helpful?