Finding users on 2010 Server RRS feed

  • Question

  • Hi

    We are running Exchange 2010 SP1. We have three servers in  DAG.

    One of the servers (Mail1) will be taken offline due to a hardware replacement.

    I need to know:

    1. A Powershell command to find out which DB's are active on Mail1 at the moment

    2. A Powershell command to find out which mailboxes are on Mail1 at the moment

    3. How can I use the command line ot move any DB's off Mail1?

    Tuesday, August 23, 2011 10:37 PM


  • 1. Get-MailboxDatabaseCopyStatus -Server mail1
    2. Get-Mailbox -ResultSize Unlimited -Server mail1
    3. Use the Move-ActiveMailboxDatabase cmdlet

    Check out the built-in maintenance scripts, they can automate this for you:
    Mike Pfeiffer | blog: mikepfeiffer.net | twitter: @mike_pfeiffer
    Tuesday, August 23, 2011 11:08 PM