From: JackH on
Exchange 2007

Is it possible to create a dynamic distribution list for each staff that
reports to a specific manager??



From: Rich Matheisen [MVP] on
On Wed, 16 Jun 2010 00:10:12 -0400, "JackH"
<grandam010nospam(a)gmail.com> wrote:

>Exchange 2007
>
>Is it possible to create a dynamic distribution list for each staff that
>reports to a specific manager??

Maybe.

http://technet.microsoft.com/en-us/library/bb738155(EXCHG.80).aspx

"Manager" and "DirectReports" work as filterable properties for some
of the "Get-*" cmdlets. Maybe they'd work with a DDL, too.
---
Rich Matheisen
MCSE+I, Exchange MVP
From: JackH on
It takes it but when you look at the DDL it doesn't return any users. There
must be away.


"Rich Matheisen [MVP]" <richnews(a)rmcons.com.NOSPAM.COM> wrote in message
news:fi9i16lkbu2b3fu2h5e2lfqq0ojkpdu99f(a)4ax.com...
> On Wed, 16 Jun 2010 00:10:12 -0400, "JackH"
> <grandam010nospam(a)gmail.com> wrote:
>
>>Exchange 2007
>>
>>Is it possible to create a dynamic distribution list for each staff that
>>reports to a specific manager??
>
> Maybe.
>
> http://technet.microsoft.com/en-us/library/bb738155(EXCHG.80).aspx
>
> "Manager" and "DirectReports" work as filterable properties for some
> of the "Get-*" cmdlets. Maybe they'd work with a DDL, too.
> ---
> Rich Matheisen
> MCSE+I, Exchange MVP


From: Rich Matheisen [MVP] on
On Sun, 20 Jun 2010 07:26:29 -0400, "JackH"
<grandam010nospam(a)gmail.com> wrote:

>It takes it but when you look at the DDL it doesn't return any users. There
>must be away.

It works, just not the way you expect it to. The name you look for is
the DN of the object.

This won't work:
set-dynamicdistributiongroup ddl -recipientfilter {manager -eq "blah"}

This does:
set-dynamicdistributiongroup ddl -recipientfilter {manager -eq
"CN=blah,CN=SomeOU,DC=domain,DC=tld"}
---
Rich Matheisen
MCSE+I, Exchange MVP
From: JackH on
I tried this but when I hit enter I get >>

set-dynamicdistributiongroup ddl -recipientfilter {manager -eq "cn=Manager
Name,ou=users,OU=City,OU=Locations,OU=Company Name,DC=Domain,DC=Local"

Of course I replaced the words after = with appropriate names.

What am I missing?



"Rich Matheisen [MVP]" <richnews(a)rmcons.com.NOSPAM.COM> wrote in message
news:dgos16dbphv34kcjvjinod95k7l0c849d6(a)4ax.com...
> On Sun, 20 Jun 2010 07:26:29 -0400, "JackH"
> <grandam010nospam(a)gmail.com> wrote:
>
>>It takes it but when you look at the DDL it doesn't return any users.
>>There
>>must be away.
>
> It works, just not the way you expect it to. The name you look for is
> the DN of the object.
>
> This won't work:
> set-dynamicdistributiongroup ddl -recipientfilter {manager -eq "blah"}
>
> This does:
> set-dynamicdistributiongroup ddl -recipientfilter {manager -eq
> "CN=blah,CN=SomeOU,DC=domain,DC=tld"}
> ---
> Rich Matheisen
> MCSE+I, Exchange MVP