[ExchangeList] Re: Public Folder primary SMTP addresses

  • From: "Michael B. Smith" <michael@xxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <exchangelist@xxxxxxxxxxxxx>
  • Date: Wed, 18 Jun 2008 15:58:30 -0400

Something like this:

 

$obj = [adsi]'LDAP://cn=Michael B. Smith,cn=users,dc=essential,dc=local'

$proxy = $obj.proxyaddresses |? {$_ -match "`@exchange\.domain\.com$" }

$obj.PutEx(2, 'proxyAddresses', (,"$proxy"))

$obj.SetInfo()

$obj = $null

 

Should remove the bad entry. You'll just need to use S.DS to search for
publicfolder objects that have a proxyAddresses attribute.

 

Regards,

 

Michael B. Smith

MCITP:EM/MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Frank
Sent: Tuesday, June 17, 2008 1:09 PM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] Re: Public Folder primary SMTP addresses

 


I'm asking for help with the method of changing the email addresses.

 

The folders to be changed are all beneath one PubFolder tree-node.

 



--- On Tue, 6/17/08, Michael B. Smith <michael@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

From: Michael B. Smith <michael@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: [ExchangeList] Re: Public Folder primary SMTP addresses
To: exchangelist@xxxxxxxxxxxxx
Date: Tuesday, June 17, 2008, 12:31 PM

What exactly are you asking for?

 

How do you choose which public folders you are going to change?

 

Regards,

 

Michael B. Smith

MCITP:EM/MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: exchangelist-bounce@xxxxxxxxxxxxx
[mailto:exchangelist-bounce@xxxxxxxxxxxxx] On Behalf Of Frank
Sent: Tuesday, June 17, 2008 10:51 AM
To: exchangelist@xxxxxxxxxxxxx
Subject: [ExchangeList] Public Folder primary SMTP addresses

 


 

I need to change the Primary SMTP addresses of a large number (but not all)
of our public folders from "@exchange.domain.com" to "@domain.com".  A lot
of these folders email addresses do not have a match between the user part
of the email address and the "MailNickName", so ADMODIFY is not a clear
option.

 

I've been trying CSVDE and LDIFDE as well as PowerShell.

 

Still...no luck...well...no GOOD luck.

 

Any suggestions would be greatly appreciated.

 

Frank

 

 

 

 

Other related posts: