Stop-HCXMobilityGroupMigration Command | Vmware PowerCLI Reference

Stop-HCXMobilityGroupMigration

This cmdlet stops the migration of all virtual machines in the mobility group.

Syntax

Stop-HCXMobilityGroupMigration
-MobilityGroup < HCXMobilityGroup >
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
MobilityGroup HCXMobilityGroup named
  • pipeline
Specifies the 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.
Stop-HCXMobilityGroupMigration
-Id < String >
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String named
Specifies the ID of the mobility group that you can use to identify any particular 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.HCXMobilityGroup

Examples

Example 1

Stop-HCXMobilityGroupMigration -Id "mobilityGroupId"

This cmdlet stops the migration of all virtual machines in the mobility group with a specified ID.

Example 2

Stop-HCXMobilityGroupMigration -MobilityGroup $mobilityGroup

This cmdlet stops the migration of all virtual machines in the specified mobility group.

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.