New-HCXMobilityGroup

This cmdlet creates an HCX mobility group request.

Syntax

-Name  <String>
[-GroupConfiguration  <HCXMobilityGroupConfiguration>]
[-Migration  <HCXMobilityGroupMigration[]>]
[-Server  <HcxServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Name
String named Specifies the name of an HCX mobility group.
optional
GroupConfiguration
HCXMobilityGroupConfiguration named Specifies the common set of configurations that you want to apply to all virtual machines in a group while doing the migration. If not specified explicitly at Virtual Machine Configuration.
optional
Migration
HCXMobilityGroupMigration[] named Specifies the array of a virtual machine and its configurations that are part of the HCX mobility 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.

Output

VMware.VimAutomation.Hcx.Types.V1.HCXMobilityGroup

Examples


Example 1

New-HCXMobilityGroup -Name "MyFirstMobilityGroup" -GroupConfiguration $mobilityGroupConfigiuration -Migration $migrations

Creates a new mobility group request object with default mobility group configurations and a list of HCX migration objects.

Example 2

New-HCXMobilityGroup -Name "MyFirstMobilityGroup" -Migration $migrations

Creates a new mobility group request object with an out-default group configuration.

Related Commands

Feedback

Was this page helpful?