locked
Powershell - Get all Mailboxes without Mail-Adress-Policy RRS feed

  • Question

  • Hi there,

    i search for a powershell command that tells me all mailboxes that have not set the e-mail adress policy.

    Many thanks for all help.

    Markus

    Saturday, August 11, 2012 6:19 PM

Answers

  • On Sat, 11 Aug 2012 18:19:47 +0000, mullfreak wrote:
     
    >i search for a powershell command that tells me all mailboxes that have not set the e-mail adress policy.
    >
    >Many thanks for all help.
     
    get-mailbox -resultsize unlimited -filter {EmailAddressPolicyEnabled
    -eq $false}
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Proposed as answer by Jamestechman Saturday, August 11, 2012 6:40 PM
    • Marked as answer by emma.yoyo Friday, August 17, 2012 1:55 AM
    Saturday, August 11, 2012 6:34 PM

All replies

  • On Sat, 11 Aug 2012 18:19:47 +0000, mullfreak wrote:
     
    >i search for a powershell command that tells me all mailboxes that have not set the e-mail adress policy.
    >
    >Many thanks for all help.
     
    get-mailbox -resultsize unlimited -filter {EmailAddressPolicyEnabled
    -eq $false}
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Proposed as answer by Jamestechman Saturday, August 11, 2012 6:40 PM
    • Marked as answer by emma.yoyo Friday, August 17, 2012 1:55 AM
    Saturday, August 11, 2012 6:34 PM
  • Hi Markus,

    Any updates?


    Frank Wang

    TechNet Community Support

    Monday, August 13, 2012 8:10 AM
  • It should by

    Something like:

    Get-Mailbox -ResultSize Unlimited -Filter {EmailAddressPolicyEnabled -eq $false

    Tuesday, August 14, 2012 11:47 PM