PowerCLI Reference

Stop-HCXMobilityGroupMigration

Synopsis

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

Syntax

Stop-HCXMobilityGroupMigration [-Confirm] -Id <String> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Stop-HCXMobilityGroupMigration [-Confirm] -MobilityGroup <HCXMobilityGroup> [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
IdStringSpecifies the ID of the mobility group that you can use to identify any particular group.trueFalse
MobilityGroupHCXMobilityGroupSpecifies the full mobility group definition.trueTrue (ByValue)
ServerHcxServer[]Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

VMware.VimAutomation.Hcx.Types.V1.HCXMobilityGroup

Notes

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.


Copyright © VMware, Inc. All rights reserved.