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

Re: Get-View -Id possible values?

$
0
0

I guess VMware has been replacing Get-View with .ExtensionData. But in some cases it still requires to use Get-View.

 

Using Matt's example, these are identical:

$global:DefaultViServer.ExtensionData.Content

(Get-View ServiceInstance).Content

 

But when I try to get the vCenter configuration settings, I have to use:

(Get-View 'OptionManager.VpxSettings').Setting

or

(Get-View $global:DefaultVIServer.ExtensionData.Content.Setting).Setting

 

But I cannot drill through like this:

$global:DefaultVIServer.ExtensionData.Content.Setting.ExtensionData.Setting

 

To me, this way would be more logical and more consistent.

 

Your thoughts?

 

Jason


Viewing all articles
Browse latest Browse all 249166

Trending Articles



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