Using SCVMM Powershell to move VM

Hello Everybody.

I made a powershell to Live migrate a lot of VMs VHDs to another share storage in the cluster, Ej:

  • Now the VHDXs are in C:\Cluster Storage\VMStorageDisks\

well,

  • I want to move to C:\Cluster Storage\NewVMsVHDX

 

Im Running the Powershell in my PC (I just have access to the SCVVM Console).

Im Using the SCVMM Cmdlets:

Move-SCVirtualHardDisk -VirtualHardDisk $VHDXtoMove -Path $NewVHDxPath

 

 

My Questions:

When I say move to C:\Cluster Storage\NewVMsVHDX\VMname

 

  • Will be in the Cluster Share or in my PC?
  • Will the SCVMM create the New Folder if it doesnt exist?

 

Many thanks and have a nice week,

 

Angel BC


  • Edited by abiurrunc Wednesday, September 09, 2015 8:18 AM
September 9th, 2015 8:03am

Hi Sir,

Sorry for the delay .

 You need to provide an existing folder to store the VM .

"The last command moves the virtual hard disk stored in $VHD to the existing folder "C:\VHDs".":

https://technet.microsoft.com/en-us/library/Hh801432.aspx?f=255&MSPPError=-2147217396

Best Regards,

Elton Ji

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 1:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics