Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

17391

January 28th, 2015 19:00

How to programmatically determine OMIVV version

How can I programmatically retrieve the version of OMIVV (OpenManage Integration for VMware vCenter)?

This is how I would do it manually
1.Login to https://
2.From the left menu select APPLIANCE MANAGEMENT
3.Version is displayed under APPLIANCE UPDATE

There is no url under the Appliance Management hyperlink. It is a javascript action.
I would rather not have to hack all the javascript and html to find the source of the information as this could easily change in a future release rendering this hack out of date.

There is no SNMP agent
You cannot SSH to OMI

I would like to write a script to gather this information on a regular basis as part of a state of my environment management report.

Moderator

 • 

8.6K Posts

January 29th, 2015 13:00

Hi,

There is not a way from the plugin side to collect the version. You may be able to use other Vcenter methods to get the version. PowerCLI should be able to get a list or the specific version of the plugin with Get-vCenterPlugin command

https://my.vmware.com/web/vmware/details?downloadGroup=PCLI550&productId=352

3 Posts

February 19th, 2015 14:00

Thank you for the pointer. I incorrectly assumed there was a built in cmdlet, however there is not. I did find a function written by Jonathon Medd the host of the Get-Scripting podcast.

www.jonathanmedd.net/.../managing-vcenter-plugins-with-powercli.html

This did the trick for me. Thank you Josh.

For others be aware there are two entries returned of the OMI

PS> Get-vCenterPlugin | Where-Object { $_.Description -match "OpenManage" } | Select Description, Version

Description                                  Version                                    
-----------                                  -------                                    
OpenManage Integration                       2.1.0.27
OpenManage Integration for VMware vCenter    2.1.0

No Events found!

Top