Provides cmdlets for managing VMware HCX features.
To setup a connection you should use the Connect-HCXServer command. Run the code sample below to connect.
# Connects to an HCX server by using the User and Password parameters.
Connect-HCXServer -Server $serverAddress -User $user -Password $passYou can also connect to remote environment by running one of the alternative options to connect below:
# Connects to an HCX server by using the Credential parameter.
$credential = Get-Credential
Connect-HCXServer -Server $serverAddress -Credential $credential# Connects to an HCX server and stores the credentials in the credential store.
Connect-HCXServer -Server $serverAddress -Credential -User $user -Password $pass -SaveCredentialYou can READ objects by using Get-HCXAppliance cmdlet. See example below:
# Retrieves the available appliances of type Interconnect, WAN Optimization, and L2Concentrator.
Get-HCXAppliance