Stop-HCXMobilityGroupMigration

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

Syntax

-Id  <String>
[-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
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.

-MobilityGroup  <HCXMobilityGroup>
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
MobilityGroup
HCXMobilityGroup named
  • pipeline
  • Specifies the full mobility group definition.
    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

    PS C:\> Stop-HCXMobilityGroupMigration -Id "mobilityGroupId"

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

    Example 2

    PS C:\> Stop-HCXMobilityGroupMigration -MobilityGroup $mobilityGroup

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

    Related Commands

    Feedback

    Was this page helpful?