Automation

 View Only
  • 1.  Get list of plugins and versions installed from vCenter?

    Posted May 11, 2017 05:27 PM

    Hi all,

    Does anyone know how to use PowerCLI to get a list of plugins installed in vCenter, their versions and any other information associated with those plugins?  I found Get-vCenterPlugin, per http://www.jonathanmedd.net/2012/02/managing-vcenter-plugins-with-powercli.html​, but that doesn't seem to work for me in PowerCLI 6.0 Release 1.  Anybody know what I can use instead?  Or am I missing something with Get-vCenterPlugin?



  • 2.  RE: Get list of plugins and versions installed from vCenter?

    Posted May 11, 2017 05:54 PM

    Try this

    $extMgr = Get-View ExtensionManager

    $extMgr.ExtensionList |

    select @{N='Name';E={$_.Description.Label}},Version,Company



  • 3.  RE: Get list of plugins and versions installed from vCenter?

    Posted May 12, 2017 11:04 PM

    Thanks.  That works.  To refine it into one line, I'd think I could do something like

    Get-View ExtensionManager | Where-Object Name -like "*ExtensionList*" | select @{N='Name';E={$_.Description.Label}},Version,Company

    to make it into one line?



  • 4.  RE: Get list of plugins and versions installed from vCenter?

    Posted May 13, 2017 09:24 AM

    Try like this

    Get-View ExtensionManager |Select -ExpandProperty ExtensionList | select @{N='Name';E={$_.Description.Label}},Version,Company



  • 5.  RE: Get list of plugins and versions installed from vCenter?

    Posted Apr 02, 2019 07:57 PM

    Thanks for the post! This helped to pull the available plugins.

    But if we need to know the state of plugin as in whether enabled/disabled, how can we check the status? Please suggest.



  • 6.  RE: Get list of plugins and versions installed from vCenter?

    Posted Apr 02, 2019 08:29 PM

    Although this thread mentions plugins, it is in fact all about Extensions, not Plugins.

    The plugins are, afaik, done through the Web Client API (which I know little or nothing about I'm afraid)



  • 7.  RE: Get list of plugins and versions installed from vCenter?

    Posted Apr 17, 2019 04:21 PM

    Thanks LucD!

    I'm looking to get client plugins installed and their status.

    Can you recommend the best approach.

    Thanks!



  • 8.  RE: Get list of plugins and versions installed from vCenter?

    Posted Apr 17, 2019 04:33 PM

    I'm afraid not.
    You could check in the Web Client Programming Guide but personally I have no experience with those API.