$license = Add-VcenterLicense -Key "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Set-VCenter -LicenseKey "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Execute the assignment command by supplying both the asset ID and your 25-character license key:
New-VCenterLicense -LicenseKey "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" -Description "Description of License"
The -Feature parameter lists all the features a specific license enables, such as vSphere vMotion or HA.
Remove a license from a specific asset without deleting the license key:
Use New-VCenterLicense . Replace the license key and description.
Add-VCLicense -LicenseKey "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" -Description "vCenter Standard"