Getting Started with VMware HCX cmdlets
Provides cmdlets for managing VMware HCX features.
Step 1: Connect to Environment
To setup a connection you should use the Connect-HCXServer command. Run the code sample below to connect.
Connect-HCXServer -Server $serverAddress -User $user -Password $pass
$credential = Get-Credential
Connect-HCXServer -Server $serverAddress -Credential $credential
Connect-HCXServer -Server $serverAddress -Credential -User $user -Password $pass -SaveCredential
Step 2: Try a GET Command
For example when successfully connected you can run the Get-HCXAppliance command.
Get-HCXAppliance