Finding users on Exchange 2010 server


We have a bunch of Exchange 2010 servers in a DAG for testing. Some servers don't hold active copies of databases.

We have 10 servers altogether in the DAG, and I need to bring one down on Sat morning to replace some hardware. The server that needs the maintenance is Exch2010_1

On Saturday morning, what command can I run to ensure that no active copies of the DB are currently running on Exchange2010_1? I just want to ensure that no users are affected.

Also, apart from checking that no active db's are on that server, is there anything else I need to check?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi bruce_77,

Have a look at the following link that pertains to your question.  I believe it should work for you, however I am unable to test as I do not have enchange 2010 available.
bruce_77Author Commented:
Hi there

No, the question's not related to CAS servers at all, but thanks anyway!
To see any active databases on server MbxServer1:
Get-mailboxDatabase | where { $_.Server.Name -eq 'MbxServer1'}

To move all active mailboxDatabase on a server (let's say MbxServer1) to all other available mailbox servers:
Move-ActiveMailboxDatabase -Server MbxServer1
To move DB1 to Mbxserver2
Move-ActivemailboxDatabase DB1 -ActivateOnServer MbxServer1


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bruce_77Author Commented:
Thanks neothwin

Do you know how I would be able to see all the users on a specific server though?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.