Test-HCXMobilityGroup
This cmdlet validates an HCX mobility group object.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Id | String | named |
|
Specifies the ID of the mobility group which you can use to identify any group uniquely. |
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
|
MobilityGroup | HCXMobilityGroup | named |
|
Specifies a full mobility group definition. |
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
|
Name | String | named |
|
Specifies the name of the mobility group. |
optional | GroupConfiguration | HCXMobilityGroupConfiguration | named |
|
Specifies a common set of configurations that you can apply to all virtual machines in a group while doing the migration. |
optional | Migration | HCXMobilityGroupMigration[] | named |
|
Specifies the array of a virtual machine and its configurations that are part of the mobility group. |
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.HCXMobilityGroupExamples
Example 1
Test-HCXMobilityGroup -Name "mobilityGroupName"
Validates the mobility group configurations for a given mobility group name. You must create the mobility group before validating with the Name parameter.
Example 2
Test-HCXMobilityGroup -MobilityGroup $mobilityGroup
Validates the specified mobility group configurations.
Example 3
Test-HCXMobilityGroup -Id "mobilityGroupId"
Validates the mobility group configurations for the given mobility group ID. You must create the mobility group before validating with the Id parameter.
Related Commands
HCXMobilityGroup
This cmdlet retrieves a list of HCX mobility groups.
This cmdlet creates an HCX mobility group request.
This cmdlet modifies the HCX mobility group.
This cmdlet validates an HCX mobility group object.
HCXMobilityGroupConfiguration
This cmdlet creates an HCX mobility group configuration request.
This cmdlet updates the HCX mobility group configurations.
HCXMobilityGroupMigration
This cmdlet starts the HCX Mobility Group migrations.
This cmdlet stops the migration of all virtual machines in the mobility group.