Discussion:
How to specify more than one emailaddress with -EmailAddresses <ProxyAddressCollection>
(too old to reply)
Louis Göhl
2007-03-13 12:41:41 UTC
Permalink
Hi,
Set-Mailbox -EmailAddresses <ProxyAddressCollection>
The EmailAddresses parameter specifies all the proxy addresses of the mailbox. It includes the primary Simple Mail Transfer Protocol (SMTP) address as one of the proxy addresses. If you use this parameter, you cannot use the PrimarySMTPAddress parameter.
Can anyone tell me what the syntax is if I want to specify more than one
email address?

Thanx,

Louis
Bharat Suneja [MVP]
2007-03-13 15:17:39 UTC
Permalink
$foo = get-mailbox user1
$foo.EmailAddresses
+="***@yourdomain.com",***@yourdomain.com
$foo | set-mailbox
--
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------------------------
Post by Louis Göhl
Hi,
Set-Mailbox -EmailAddresses <ProxyAddressCollection>
The EmailAddresses parameter specifies all the proxy addresses of the
mailbox. It includes the primary Simple Mail Transfer Protocol (SMTP)
address as one of the proxy addresses. If you use this parameter, you
cannot use the PrimarySMTPAddress parameter.
Can anyone tell me what the syntax is if I want to specify more than one
email address?
Thanx,
Louis
Henry
2007-03-13 15:18:36 UTC
Permalink
Hi

if you want to set multiple addresses they are configured by using an array
("SMTP:***@something.com","smtp:***@something.com")
keep in mind that the primary address is the "SMTP" and all other addresses
of the address space smtp are "smtp". Of course you can have addresses of
ther address spaces ("X400" and so on)
In that case the "SMTP" address must be the same as the
"WindowsEmailAddress"! ! ! If that is not the case, this user object will not
be included in the OAB.


Henry


Henry
Post by Louis Göhl
Hi,
Set-Mailbox -EmailAddresses <ProxyAddressCollection>
The EmailAddresses parameter specifies all the proxy addresses of the mailbox. It includes the primary Simple Mail Transfer Protocol (SMTP) address as one of the proxy addresses. If you use this parameter, you cannot use the PrimarySMTPAddress parameter.
Can anyone tell me what the syntax is if I want to specify more than one
email address?
Thanx,
Louis
Loading...