VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
2 Replies Last post: Nov 4, 2009 11:28 PM by harkamal  

VpxSettings posted: Nov 4, 2009 2:08 PM

Click to view Fisk's profile Novice 13 posts since
Mar 21, 2008

Does anyone know how to pull the OptionManager MOR for the VpxSettings using PowerShell?

I'm able to pull most of the other MOR's (such as FileManager) from ServiceContent Object using Get-View -ID FileManager but for some reason I can't pull the settings MOR which is supposedly mapped to the OptionManager MOR assocated with the VpxSettings. At least from what I can tell. Please correct me if I have this wrong.

Thanks for your help.

Fisk

Re: VpxSettings

2. Nov 4, 2009 11:28 PM in response to: Fisk
Click to view harkamal's profile Hot Shot 221 posts since
Mar 19, 2009
$si = Get-View ServiceInstance
$si.Content.Setting

Type                                              Value
----                                                  -----
OptionManager                           VpxSettings

So the syntax will become "Get-View Type-Value" , and thats how you got your syntax 
Get-View OptionManager-VpxSettings



;)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities