Jeroen Koekkoek Posted April 1, 2021 Share Posted April 1, 2021 Hi all, I'm trying to figure out how to move a VM from one host to another with local storage using powershell. It looks like I need to use invoke-xenvm -xenaction migratesend -name VMNAME -dest @{} The -dest parameter is what I am unable to figure out at this moment. What items are required in this hashtable and how does the formatting look like. I am assuming that the destination HOST and SR are required but I am unable to figure it out. Anyone that can help me out on this? Best regards! Link to comment
0 Tobias Kreidl Posted April 1, 2021 Share Posted April 1, 2021 This may have been resolved already here: https://discussions.citrix.com/topic/371248-scripting-move-of-vm-from-one-host-to-another-separate-local-sr/ -=Tobias Link to comment
0 Jeroen Koekkoek Posted April 12, 2021 Author Share Posted April 12, 2021 On 4/1/2021 at 4:01 PM, Tobias Kreidl said: This may have been resolved already here: https://discussions.citrix.com/topic/371248-scripting-move-of-vm-from-one-host-to-another-separate-local-sr/ -=Tobias Sort of, that is creating a copy of a VM on another host. Not migrating the existing one to another host? Link to comment
0 Carsten Eckert Posted January 10, 2022 Share Posted January 10, 2022 Hi, have a look to this: https://discussions.citrix.com/topic/415099-invoke-xenvm-xenaction-migratesend/ Link to comment
Question
Jeroen Koekkoek
Hi all,
I'm trying to figure out how to move a VM from one host to another with local storage using powershell.
It looks like I need to use invoke-xenvm -xenaction migratesend -name VMNAME -dest @{}
The -dest parameter is what I am unable to figure out at this moment. What items are required in this hashtable and how does the formatting look like.
I am assuming that the destination HOST and SR are required but I am unable to figure it out.
Anyone that can help me out on this?
Best regards!
Link to comment
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now