Windows Server 2016 Evaluation to Standard

Target Edition : ServerStandard
Target Edition : ServerDatacenter

Dism /online /Set-Edition: /AcceptEula /ProductKey:12345-67890-12345-67890-12345 

Where it is the higher edition that you want to change to. (ServerStandard or ServerDatacenter) Source