Skip Ribbon Commands
Skip to main content
Mark E. Smith's Brain Dump > Posts > Get all disconnected mailboxes via Powershell.
December 21
Get all disconnected mailboxes via Powershell.

To display mailboxes that are disconnected use the following command.

Get-MailboxStatistics -Server <server> | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate

Replace <server> with the name of your mailbox server.

This gives a list of the disconnected mailboxes.

To reconnect you use the command below

Connect-mailbox –database <mailbox database name> –Identity <disconnected mailbox name> –User <User to connect to>

 

Comments

There are no comments for this post.