PowerCLI Reference

Start-HCXMigration

Synopsis

This cmdlet starts the HCX migrations.

Syntax

Start-HCXMigration [-Migration] <HCXMigration[]> [-Confirm] [-Server <HcxServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Detailed Description

This cmdlet starts the HCX (Hybrid Cloud Extension) migrations.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
MigrationHCXMigration[]Specifies the list of migration requests. If you want to retrieve a migration request, use the New-HCXMigration cmdlet.trueTrue (ByValue)
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
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.HCXMigration[]

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> Start-HCXMigration -Migration $migration1,$migration2

Starts the HCX migrations for the $migration1 and $migration2 values.


Copyright © VMware, Inc. All rights reserved.