Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing full articles (9071 articles)
Browse article index
↧

Simultaneously Tasks Decrease/Increase

$
0
0

Hi theire,

 

I'am little bit lost.   i need to clear Several Datastores to activate  ATS on it. During Week i start with this Code. so only 1 migration at a time.

on weekend i wanted to plan to raise up to 4 maximum.

i'am not quit sure how to manage that. is theire a Easy solution for it?

 

Happy if someone could help me for it .

 

$Dsource= "DS01"

$Ddest = "DS02"

$vms = get-datastore $DSource |get-vm

 

foreach ($vm in $vms){

get-vm $vm |move-vm -datastore (Get-datastore $Ddest)

}

 

Many thx

 

Max

↧

Viewing full articles (9071 articles)
Browse article index

Latest Images

Trending Articles



Latest Images