MS Exchange 2007- Adding email addresses thru powershell

For all those guys who are beginers in powershell , here is a cool tip:

Fist get the mail box thru Get-mailbox command

$mailbox = get-mailbox vikas

Second get in to multivalued attribute & add one more value


Third set the value using pipe & set mailbox

$mailbox | set-mailbox


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s