get-mailbox | where {$_.EmailAddressPolicyEnabled -like "True"}
or if using just Exchange 2003, then the command will be a little more in
depth. Let me know if you need one for EX2K3. It will make a nice
practical application of PowerShell for me to figure out.
--Carlos
"GovAdminGuy" <GovAd...@discussions.microsoft.com> wrote in message
news:8BCB6B31-E476-47CA...@microsoft.com...
"GovAdminGuy" <GovAd...@discussions.microsoft.com> wrote in message
news:8BCB6B31-E476-47CA...@microsoft.com...
Recipients with that value in the msExchPoliciesExcluded attribute will not
have email addresses managed by Recipient Policies.
If you use that query in ADUC Saved Queries/CSVDE/LDIFDE/Exchange Address
Lists, it will get you all recipients for which email addresses are not
being managed by policy.
To get all recipients who are managed by policy, simply change the
following:
(msExchPoliciesExcluded={26491CFC-9E50-4857-861B-0CB8DF22B5D7})
to:
(!msExchPoliciesExcluded={26491CFC-9E50-4857-861B-0CB8DF22B5D7})
To restrict it to mailbox-enabled users, add (objectClass=user)(homeMDB=*)
to it, so it looks like:
(&(mailNickname=*)(objectClass=user)(homeMDB=*)(msExchPoliciesExcluded={26491CFC-9E50-4857-861B-0CB8DF22B5D7}))
--
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------------------------
"GovAdminGuy" <GovAd...@discussions.microsoft.com> wrote in message
news:F847944B-B79D-4919...@microsoft.com...