Earlier this year we migrated our Exchange 2003 setup to Exchange 2007 and all was going well for a while. Until we had noticed that our Edge Server thought it was unlicensed, even though we’d entered all the licence info as part of the initial Exchange config. A quick search found this handy PowerShell command for setting, or resetting, the Product Key for our Edge Server. I’m still impressed with how much PowerShell can do in Exchange/Windows, its definitely worth investing the time to learn.
< Power Shell CMD >
[PS] C:\Windows\System32>get-ExchangeServer
Name Site ServerRole Edition AdminDisplayVersion
—- —- ———- ——- ————–
JACKAL BGS Mailbox,… Standard Version 8.1…
CARLOS BGS ClientAc… Standard Version 8.1…
EDGE BGS Edge Standard… Version 8.1…
ZORO BGS ClientAc… Standard Version 8.1…
[PS] C:\Windows\System32>set-ExchangeServer Edge -ProductKey xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
[PS] C:\Windows\System32>get-ExchangeServer
Name Site ServerRole Edition AdminDisplayVersion
—- —- ———- ——- ————–
JACKAL BGS Mailbox,… Standard Version 8.1…
CARLOS BGS ClientAc… Standard Version 8.1…
EDGE BGS Edge Standard Version 8.1…
ZORO BGS ClientAc… Standard Version 8.1…
[PS] C:\Windows\System32>