Test-HCXMigration Command | Vmware PowerCLI Reference

Test-HCXMigration

This cmdlet validates an HCX (Hybrid Cloud Extension) migration request that you can use to start a migration process.

Syntax

Test-HCXMigration
-Migration < HCXMigration[] >
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Migration HCXMigration[] named
  • pipeline
Specifies the list of migration requests. If you want to retrieve a migration request, use the New-HCXMigration cmdlet.
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.HCXMigrationValidationResult

Examples

Example 1

Test-HCXMigration -Migration $migration1,$migration2

Validates a list of migration requests.

Related Commands

HCXMigration

This cmdlet retrieves the list of HCX migrations.

This cmdlet creates an HCX migration request.

This cmdlet modifies the HCX migrations.

This cmdlet starts the HCX migrations.

This cmdlet validates an HCX migration request.