• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 961
  • Last Modified:

Get-mailboxstatistics question


Hello,

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?  
0
parinpatel
Asked:
parinpatel
1 Solution
 
Thorbear_IcemountainCommented:
Try this one...

Get-MailboxStatistics | where-object {$_.DisconnectDate -eq $null}
0
 
parinpatelAuthor Commented:
Hey that worked...thanks alot.....
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now