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

Re: powerCLI move-vm commandlet

$
0
0

Now that this code works, im looking to log any errors that might result in the overallocation of resources; the following does not work:

 

 

try{

move-vm -VM $Vm -destination $dest


}catch{

 

write-log "Some log here $_ "

}

 

 

 

Any ideas how i can catch WHICH vm's do not end up moving or finishing their move?

 

Thanks


Viewing all articles
Browse latest Browse all 245504

Trending Articles



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