You can set the license key for a host on a vCenter Server system by using the LicenseKey parameter of the Set-VMHost cmdlet.
Prerequisites
Verify that you are connected to a vCenter Server system.
You can set the license key for a host on a vCenter Server system by using the LicenseKey parameter of the Set-VMHost cmdlet.
Verify that you are connected to a vCenter Server system.