Test-HCXMobilityGroup
This cmdlet validates an HCX mobility group object.
Syntax
-Name
<String>
[-GroupConfiguration <HCXMobilityGroupConfiguration>]
[-Migration <HCXMobilityGroupMigration[]>]
[-Server <HcxServer[]>]
[CommonParameters]
[-GroupConfiguration <HCXMobilityGroupConfiguration>]
[-Migration <HCXMobilityGroupMigration[]>]
[-Server <HcxServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | named |
|
Specifies the name of the mobility group. | optional |
|
HCXMobilityGroupConfiguration | named |
|
Specifies a common set of configurations that you can apply to all virtual machines in a group while doing the migration. | optional |
|
HCXMobilityGroupMigration[] | named |
|
Specifies the array of a virtual machine and its configurations that are part of the mobility group. | optional |
|
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 |
|
String | named |
|
Specifies the ID of the mobility group which you can use to identify any group uniquely. | optional |
|
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 |
|
HCXMobilityGroup | named |
|
Specifies a full mobility group definition. | optional |
|
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.HCXMobilityGroup
Examples
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 modifies the HCX mobility group.
This cmdlet validates an HCX mobility group object.
This cmdlet creates an HCX mobility group request.
HCXMobilityGroupConfiguration
This cmdlet updates the HCX mobility group configurations.
This cmdlet creates an HCX mobility group configuration request.
HCXMobilityGroupMigration
This cmdlet starts the HCX Mobility Group migrations.
This cmdlet stops the migration of all virtual machines in the mobility group.