![]() ![]() What am I missing? Basically I want to do the same exact sequence that I do when I choose the UI: ![]() This cmd works also BUT AGAIN i must specify a specific DS - where I just want to drop it into Silver. Get-HardDisk mytestvm | Move-HardDisk -Datastore Datastore-VMFarm2.2-FC-R5-01 -StorageFormat EagerZeroedThick I NEED to point it to just the DS Cluster. This cmd works - performing BOTH a move AND a convert - BUT I am forced to specific a SPECIFIC DS within the Cluster - thus defeating the purpose of just dropping it into a cluster and let DRS manage it. Move-vm mytestvm -datastore Datastore-VMFarm2.2-FC-R5-06 -diskstorageformat 'EagerZeroedThick' ![]() I have no idea what this means or how to fix it. This cmd errors off with "property datastore is missing from data object of type VirtualMachineRelocateSpecDiskLocator using serialized DataObject of type vim.vm.RelocateSpec.DiskLocator" > move-vm mytestvm -datastore dscluster-vmfarm2.2-silver -diskstorageformat 'EagerZeroedThick' I have used "move-vm" and/or "move-hardisk" cmdlets in many test one-liners, but I cannot get the proper cmd combination do to both in one shot Move a VM from a standalone DS (DS-standalone-1) to a new Data Store Cluster (DSC-Silver) AND at the same time convert the Hard disk on that Vm from thick lazy zero to eagerzeroedthick. I have tried many code snippets but I seem to be in a catch 22. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |