Source Code and Samples

Friday, 2 February 2007

Add a New Email Address to a Mailbox

Description

Adds the email address kmyer@fabrikam.com to the mailbox kenmyer@fabrikam.com. This script/command requires Microsoft Exchange Server 2007.

Source Code

set-Mailbox kenmyer@fabrikam.com -EmailAddresses ((get-Mailbox kenmyer@fabrikam.com).EmailAddresses + "kmyer@fabrikam.com")

No comments: