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

Re: Retrieve vcenter license key

$
0
0

Hello, -

 

You can use the LicenseManager object for the vCenter to which you last connected in your PowerCLI session, and then display the licenses that it knows of, like:

 

## get the license manager View object
$viewLicMgr=Get-View$global:DefaultVIServer.ExtensionData.Content.LicenseManager

## display the licenses
$viewLicMgr.Licenses

 

How does that do for you?


Viewing all articles
Browse latest Browse all 230663

Trending Articles



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