$vcLicense = Get-VMLicense -Key "YYYYY-YYYYY-YYYYY-YYYYY-YYYYY" Set-VC -License $vcLicense First, remove assignments; then delete the key.
/usr/lib/vmware-vmafd/bin/vmafd-cli get-license --server-name localhost This method is advanced and modifies the underlying database. Always back up vCenter before using this. vcenter license key command line
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store LICENSES Or use the newer vmafd library: etc.). To list services:
/usr/lib/vmware-vdcs-cli/bin/license-cli --operation add --key "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" The VCSA uses several licensed services (vCenter Standard, vSAN, etc.). To list services: vcenter license key command line