Vcenter License Key Command Line Guide
vicli -s <vcenter_server> -u <username> -p <password> license remove --license-key <license_key> Replace <license_key> with the license key you want to remove.
vicli -s <vcenter_server> -u <username> -p <password> license add --license-key <license_key> Replace <license_key> with the new license key you want to add. vcenter license key command line
To remove a license key, use the vicli command with the license remove option: vicli -s <