Ditching the GUI: Mastering vCenter Licensing via Command Line
After connecting to his vCenter server:
View Current License: Use the following command to retrieve the current license key on an ESXi host: vim-cmd vimsvc/license --show Use code with caution. Copied to clipboard vcenter license key command line
Get-Licenses
However, you can decode the current license status: Ditching the GUI: Mastering vCenter Licensing via Command
Or for vCenter:
Remove or replace a license: