You may use the following Microsoft Exchange Management Shell (EMS) cmdlet to enter the product key for Microsoft Exchange Server 2016.

Set-ExchangeServer –identity ‘<server>’ -ProductKey <product key>