Klic nebol asi vadny, ale tu trial verziu musis najprv zmenit na plnu cez prikazovy riadok.
DISM /Online /Get-CurrentEdition
Get-ComputerInfo | Select-Object WindowsProductName, WindowsEditionId
DISM /Online /Get-TargetEditions
DISM /Online /Set-Edition:ServerDatacenter /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
Po restarte mozes skusit kontrolu cez:
Get-ComputerInfo | Select-Object WindowsProductName, WindowsEditionId