Vcenter License Key Command Line
Get-VMLicense | Where-Object $_.Expiration -lt (Get-Date) | Remove-VMLicense -Confirm:$false
is where the real power lies for automation, troubleshooting, and "headless" configurations. The Power of the Prompt vcenter license key command line
: Once a host is managed by vCenter, it is recommended to use the vSphere Client Get-VMLicense | Where-Object $_
To see all license keys currently added to the vCenter inventory: powershell vcenter license key command line
This is where the command line excels over the GUI.