Thursday, February 28, 2008

Custom DSNs on Exchange 2007

Tired of end users calling asking what an NDR means when its relatively clearly stated in the message body? The cmdlets set-systemmessage and new-systemmessage will allow you to customize them so they are even more clear, although somehow I think users will still call :-)

This example sets DSN text for an external 'unkown mailbox" 5.0.0 fail.

[PS] C:\>New-SystemMessage -DsnCode 5.0.0 -internal $false -Text "The intended recipient was not found. Please check the spelling and e-mail address of the recipient." -Language en

All you have to do is change the DSN code and the boolean for -internal to manipulate all the DSN's you want.

No comments: