Welcome to MM&M UG UK Sign in | Join | Help

Disconnected Mailboxes in Exchange 2007 PowerShell

Hi,

Having had an error using the GUI to view disconnected mailboxes in Exchange 2007 and decided to look into using the command line.

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>

EDIT:

Having posted this a reader replied and let me know that he had spoken to PSS about a similar issue that was stopping him accessing the disconncted mailboxes area in the GUI. The error was similar to:

"contraint error" like :" unable to activate contraints

It appears that this is a bug and that there will be a fix. When I find out more I will post it.

 

 

Cheers

Nathan

Published Wednesday, July 04, 2007 1:26 PM by nathanwinters
Filed Under:

Comments

No Comments
Anonymous comments are disabled