Start-HCXMobilityGroupMigration

This cmdlet starts the HCX Mobility Group migrations.

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 a 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

    Start-HCXMobilityGroupMigration -Id "mobilityGroupId"

    Starts migrations of all virtual machines in the mobility group with a specified ID.

    Example 2

    Start-HCXMobilityGroupMigration -MobilityGroup $mobilityGroup

    Starts migrations of all virtual machines in the specified mobility group.

    Related Commands

    Feedback

    Was this page helpful?