Target Edition : ServerStandard
Target Edition : ServerDatacenter
Where it is the higher edition that you want to change to. (ServerStandard or ServerDatacenter) Source
Target Edition : ServerDatacenter
Dism /online /Set-Edition:/AcceptEula /ProductKey:12345-67890-12345-67890-12345