Activating a Windows Server 2012 licence
You can activate your Windows Server 2012 licence from PowerShell with these commands.
-
Remove the current product key:
slmgr -upk -
Install your new product key (replace
XXXXX-XXXXX-XXXXX-XXXXX-XXXXXwith your own key):slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX