Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert Custom EAP and address list

12 views
Skip to first unread message

RayRogers

unread,
Nov 19, 2009, 4:44:16 PM11/19/09
to
Need help converting old custom address list to exchange 2007 OPATH version.

(&(&(&(& (mailnickname=*) (|
(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder) )))(objectCategory=user)(mail=*bc.com)))

I read through some of the instruction on how to convert custom address list
on www.msexchangeteam.com and it was not enough to help me on this
conversion. Any suggestion on how to convert? Thanks in advance.

Ed Crowley [MVP]

unread,
Nov 19, 2009, 9:56:33 PM11/19/09
to
Here's the query tabbed to make it simpler to read.

(&
(&
(&
(&
(mailnickname=*)
(|
(&
(objectCategory=person)
(objectClass=user)
(!(homeMDB=*))
(!(msExchHomeServerName=*))
)
(&
(objectCategory=person)
(objectClass=user)
(|
(homeMDB=*)
(msExchHomeServerName=*)
)
)
(&
(objectCategory=person)
(objectClass=contact)
)
(objectCategory=group)
(objectCategory=publicFolder)
)
)
)
(objectCategory=user)
(mail=*bc.com)
)
)

First, the outside set of (& ... ) is redundant. Second, the inside pair of
person/user entries which are ORed together simply do the same thing as
(&(objectCategory=person)(objectClass=user)). So I think this would
simplify to this OPATH query.

(((RecipientType -eq 'UserMailbox') -or (RecipientType -eq
'MailEnabledUser') -or (RecipientType -eq 'Group') -or (RecipientType -eq
'PublicFolder')) -and (EmailAddresses -like "*bc.com"))

You can probably further simplify it to:

(EmailAddresses -like "*bc.com")

since I don't believe you really need to specify all those recipeint types.
You're probably only going to get what you want from the simple form.

Be sure to test it.
--
Ed Crowley MVP
"There are seldom good technological solutions to behavioral problems."
.

"RayRogers" <RayR...@news.postalias> wrote in message
news:A0BA6236-95EE-46B4...@microsoft.com...

RayRogers

unread,
Nov 23, 2009, 2:44:10 PM11/23/09
to
Wow! Thanks, Ed. I wish Microsoft has this available in GUID. I added "set
-addresslist" in front of script you had below and ran it. Then I went back
and tried to edit it. It was the same. Do I use the wrong set command or
additional tweeking is needed? I really appreciate your help!

"Ed Crowley [MVP]" wrote:

> ..


>
> "RayRogers" <RayR...@news.postalias> wrote in message
> news:A0BA6236-95EE-46B4...@microsoft.com...
> > Need help converting old custom address list to exchange 2007 OPATH
> > version.
> >
> > (&(&(&(& (mailnickname=*) (|
> > (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)
> > )))(objectCategory=user)(mail=*bc.com)))
> >
> > I read through some of the instruction on how to convert custom address
> > list
> > on www.msexchangeteam.com and it was not enough to help me on this
> > conversion. Any suggestion on how to convert? Thanks in advance.
>

> .
>

Ed Crowley [MVP]

unread,
Nov 23, 2009, 9:45:46 PM11/23/09
to
What is the full command you entered?

--
Ed Crowley MVP
"There are seldom good technological solutions to behavioral problems."
.

"RayRogers" <RayR...@news.postalias> wrote in message
news:66E96443-9EB5-4A36...@microsoft.com...

RayRogers

unread,
Nov 25, 2009, 4:22:02 PM11/25/09
to
I entered the following:

set -addresslist (((RecipientType -eq 'UserMailbox') -or (RecipientType -eq

'MailEnabledUser') -or (RecipientType -eq 'Group') -or (RecipientType -eq
'PublicFolder')) -and (EmailAddresses -like "*bc.com"))

Thanks.
...and have a wonderful Thanksgiving!


"Ed Crowley [MVP]" wrote:

> What is the full command you entered?
> --
> Ed Crowley MVP
> "There are seldom good technological solutions to behavioral problems."

> .
>

Ed Crowley [MVP]

unread,
Nov 26, 2009, 9:01:13 PM11/26/09
to
That's not going to work.

Enter:

Help Set-AddressList


--
Ed Crowley MVP
"There are seldom good technological solutions to behavioral problems."
.

"RayRogers" <RayR...@news.postalias> wrote in message
news:A86B004D-91DA-446D...@microsoft.com...

0 new messages