In order to change license to the evaluation one when the host is still not connected to Virtual Center we can use this approach.
[sourcecode language=”powershell”]
connect-viserver esxi1.local
$lm = Get-View -Id ‘LicenseManager-ha-license-manager’
$lm.UpdateLicense("00000-00000-00000-00000-00000", $null)
[/sourcecode]
This will change esxi licene to the evaluation one on Esxi 5.