VMware Cloud Community
nbmeyer
Contributor
Contributor
Jump to solution

Moving VMs where VM name is same across multiple clusters and destination folder is the same

Hi,

I'm attempting to move a VM where the name of the VM is the same on every cluster, plus the destination folder has the same name on every cluster as well. For now I'm just testing with a VM that has a unique name just to see if I can get past the folder name issue. I found this post which looked like it would fix it from LucD, but unfortunately I'm getting an error. Any ideas on what I'm doing wrong? Thanks!

https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/I-want-to-move-VMs-to-a-folder-name-ca...

nbmeyer_0-1614966260372.png

 

Labels (1)
Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
nbmeyer
Contributor
Contributor
Jump to solution

Found the answer here:

https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-error-when-trying-to-move-vms-t...

Had to specify the -Destination of the host that the VM lives on plus the InventoryLocation

View solution in original post

Reply
0 Kudos
1 Reply
nbmeyer
Contributor
Contributor
Jump to solution

Found the answer here:

https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-error-when-trying-to-move-vms-t...

Had to specify the -Destination of the host that the VM lives on plus the InventoryLocation

Reply
0 Kudos