Bulk changing virtual hard disk path

I received this in email today: “I have XCOPY’d a bunch of VHDX files from one volume to another on WS2016.    What’s the easiest / fastest way to fix up the paths for the VM’s???” The answer to this is quite simple.  Open PowerShell and run: $oldPath = “C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks” $newPath = “D:” get-vm… Read more