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

Re: Documentation Report on all advanced settings in vCenter

$
0
0

Have a follow up question.

 

I have mulitple vcenters and want to pull the data, however the $vpx = Get-View id 'OptionManager-VpxSettings' only seem work with 1 venter at a time.

 

Here is what I have

$vc1 = 192.168.0.1

$vc2 = 192.168.0.2

$vcenter = connect-viserver $vc1 $vc2

 

foreach ($vc in $vcenter)

{

     $vpx = Get-View -Id 'OptionManager-VpxSettings'

 

....same stuff

 

}

 

It work if I put only 1 vcenter in at a time, but that defeats my purpose.


Viewing all articles
Browse latest Browse all 231887

Trending Articles



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