Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

How to create a list of Resource pools

$
0
0

I have a list of resource pools on one cluster.

 

I want to create the same list on a second cluster - both managed by the same VCS.

 

The nearest I can get is the following, but it doesn't work

 

$tp=get-cluster -name "Cluster 5 - x3950 Test" | Get-ResourcePool

get-cluster -name "Cluster 1 - x3950" | Get-ResourcePool -name "Events" | Get-ResourcePool | ForEach-Object {$n="$_.name"; New-ResourcePool  -location $tp -name "$n"}

 

Can someone help me out?


Viewing all articles
Browse latest Browse all 207710

Trending Articles



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