Skip to content

Instantly share code, notes, and snippets.

@rverrips
Created April 29, 2014 12:09
Show Gist options
  • Save rverrips/11398327 to your computer and use it in GitHub Desktop.
Save rverrips/11398327 to your computer and use it in GitHub Desktop.
$newpath="C:\new\place\for\Hyper-V"
get-vm | % { move-vmstorage $_ -DestinationStoragepath $($newpath+"\"+$_.VMName)}
@rverrips
Copy link
Author

Will move the storage of a Clustered Hyper-V server to newparth+VMname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment