Set-HCXAppliance
This cmdlet modifies the HCX appliances of type Interconnect and Network Extension that are available on the HCX Server system.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Appliance | HCXAppliance | named |
|
Specifies the appliance for which you want to reset password or start the sync process. If you want to retrieve an appliance, use the Get-HCXAppliance cmdlet. |
optional | Name | String | named |
|
Specifies the name of the appliance. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | HcxServer[] | named |
|
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Appliance | HCXAppliance | named |
|
Specifies the appliance for which you want to reset password or start the sync process. If you want to retrieve an appliance, use the Get-HCXAppliance cmdlet. |
optional | AdminPassword | SecureString | named |
|
Specifies the password by which you can log in to the appliance as an administrator. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | RootPassword | SecureString | named |
|
Specifies the password by which you can log in to the appliance as a root user. |
optional | Server | HcxServer[] | named |
|
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Appliance | HCXAppliance | named |
|
Specifies the appliance for which you want to reset password or start the sync process. If you want to retrieve an appliance, use the Get-HCXAppliance cmdlet. |
required
|
StartSync | SwitchParameter | named |
|
Specifies that you want to start a sync process for an existing appliance. |
optional | DestinationSite | HCXSite | named |
|
Specifies the destination site. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | HcxServer[] | named |
|
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. |
Output
VMware.VimAutomation.Hcx.Types.V1.HCXJobExamples
Example 1
$myAppliance = Get-HCXAppliance -Name 'myAppliance' Set-HCXAppliance -AdminPassword 'myAdminPassword' -RootPassword 'myRootPassword' -Appliance $myAppliance
Resets the passwords for the appliance.
Example 2
$myAppliance = Get-HCXAppliance -Name 'myAppliance' $myDestinationSite = Get-HCXSite -Destination Set-HCXAppliance -DestinationSite $myDestinationSite -Appliance $myAppliance -StartSync
Starts a sync process for the appliance.
Example 3
$myAppliance = Get-HCXAppliance -Name 'myAppliance' Set-HCXAppliance -Name 'applianceName' -Appliance $myAppliance
Renames the appliance.
Related Commands
HCXAppliance
This cmdlet retrieves the appliances of type Interconnect, WAN Optimization, and Network Extension that are available on the HCX Server system.
This cmdlet creates an HCX Appliance.
This cmdlet removes an HCX Appliance.
This cmdlet modifies the HCX appliances of type Interconnect and Network Extension that are available on the HCX Server system.