CmdID

CmdID / PowerShell / Cmdlets / Move

Move-VM

Moves a virtual machine to a new Hyper-V host. Windows Server PowerShell reference

From the Windows Server PowerShell reference 22 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

22 in the Windows Server PowerShell reference
Show its 22 parameters
-AsJobRuns the cmdlet as a background job.
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-CompatibilityReportSpecifies a compatibility report which includes any adjustments required for the move.
-ComputerNameSpecifies one or more Hyper-V hosts that run this cmdlet.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-DestinationCimSessionSpecifies the CIMSession on the Hyper-V host to which the virtual machine is to be moved.
-DestinationCredentialSpecifies a user account that has permission to perform this action.
-DestinationHostSpecifies the Hyper-V host to which the virtual machine is to be moved.
-DestinationStoragePathSpecifies a destination path to which all virtual machine data is to be moved.
-IncludeStorageSpecifies that both the virtual machine and its storage are to be moved.
-NameSpecifies the friendly name of the virtual machine to be moved.
-PassthruSpecifies that an object is to be passed through to be pipeline representing the moved virtual machine.
-RemoveSourceUnmanagedVhdsIndicates that Hyper-V deletes the parent virtual hard disk on the source after this cmdlet moves a differencing virtual hard disk, when the migration is finished.
-ResourcePoolNameSpecifies the name of the processor resource pool to be used.
-RetainVhdCopiesOnSourceIndicates that this cmdlet retains parent virtual hard disks on the source computer.
-SmartPagingFilePathSpecifies the new path to use for a smart paging file, if one is needed.
-SnapshotFilePath, -CheckpointFileLocation, -SnapshotFileLocationSpecifies the path for any snapshot files associated with the virtual machine.
-VMSpecifies the virtual machine to be moved.
-VhdsSpecifies an array of hashtables that contain locations for each individual virtual hard disk to be moved.
-VirtualMachinePathSpecifies the path where the virtual machine configuration files are to be stored.
-WhatIf, -wiShows what would happen if the cmdlet runs.