In Exchange 2019, like previous versions, you can check your edition of Exchange by running the following command:

  • Get-ExchangeServer | fl

or by adding another section to the script:

  • Get-ExchangeServer | fl *Edition*

You can see the one command gives you less information than the other, to change the edition, you can license the server with a valid key using the following PowerShell command:

  • Set-ExchangeServer -Identity <ServerName> -ProductKey XXXX-XXXX-XXXX-XXXX

The server has now been licensed, however you need to restart the Information Store or reboot.

We can now run the same command as in step 2 and we can now see the status has changed from an evaluation version to Enterprise:

Hope it helps…