Syntax
Move-VDisk [-VDisk] <VDisk[]> [-Datastore] <Datastore> [-RunAsync] -ScsiLun <ScsiLun> [-Server <VIServer[]>] [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet moves the specified VDisk objects to the specified datastore. For RDM (RawVDisk), only one VDisk object can be moved at once, and only moving from VMFS to VMFS is supported.Parameters
Return Type
The moved VDisk objectsNotes
Examples
-------------------------- Example 1 --------------------------
Move-VDisk -VDisk $vDisk -Datastore $ds
Moves the flat VDisk object $vDisk to the $ds datastore.
-------------------------- Example 2 --------------------------
Move-VDisk -VDisk $vDisk -ScsiLun $scsiLun -Datastore $ds
Moves the raw VDisk object $vDisk on the $scsiLun SCSI LUN and stores metadata of this object on the $ds datastore.