Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197835

How to migrate VMs to a datastore Cluster with PowerCLI Version 5.0

$
0
0

PowerCLI V5.1 is nice because you can move VMs from one datastore to a datastore cluster.

http://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/Move-VM.html

Syntax

Move-VM [-AdvancedOption <AdvancedOption[]>] [[-Destination] <VIContainer>] [-Datastore <StorageResource>] [-DiskStorageFormat <VirtualDiskStorageFormat>] [-RunAsync] [-VM] <VirtualMachine[]> [-Server <VIServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

 

 

But in PowerCLI 5.0, the datastore Cluster is not available for destination

http://www.vmware.com/support/developer/PowerCLI/PowerCLI50/html/Move-VM.html

Syntax

Move-VM [[-Destination] <VIContainer>] [-Datastore <Datastore>] [-DiskStorageFormat <VirtualDiskStorageFormat>] [-RunAsync] [-VM] <VirtualMachine[]> [-Server <VIServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

 

Does anyone of you who have a scripted function for PowerCLI 5.0 to move a bunch of VM to a specified Datastore Cluster?

 

I don't want to move all my VMs to 1 datastore only because of the free storage capacity.

I know I have enough free space in my datastore cluster but maybe not enough if I have to move all VMs to 1 datastore.

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 197835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>