Use VMware PowerCLI to diagnose connectivity (Windows only)

If you’re using an ActiveGate deployed on a Windows machine, use the following procedure to verify that your VMware infrastructure is working. These commands should be executed on the server where the ActiveGate is installed.

  1. Install VMware PowerCLI.

  2. Enable script execution in PowerShell.

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
    
  3. Connect to the vSphere server using your Dynatrace credentials.

    Connect-VIServer -Server <vsphere_address> -Protocol https -User <username> -Password <password>
    
  4. Test the connection.

    Get-VM
    
3 Likes

Thanks @darynakovyrina for organized procedures.