Get-mailboxstatistics question

Posted on 2009-02-11
Last Modified: 2012-08-14


I need to pull a list of all active mailboxes. I tried "get-mailboxstatistics" but this is also including the disconnected mailboxes.  I need to exclude disconnected mailboxes from that list. Can someone help me with cmdlet?  
Question by:parinpatel
    LVL 5

    Accepted Solution

    Try this one...

    Get-MailboxStatistics | where-object {$_.DisconnectDate -eq $null}
    LVL 1

    Author Comment

    Hey that worked...thanks alot.....

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
    This video discusses moving either the default database or any database to a new volume.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now