Hi folks,
for several times I wanted to dismount and re-mount one or more mailbox databases from an Exchange 2010 server. It’s a hard way to do this with the EMC so i figured out the PowerShell commands to do this quick and easy.
Dismount one database:
Dismount-Database -Identity DBNAME -Confirm:$False
Dismount all databases of a server
Get-MailboxDatabase -Server SERVERNAME | Dismount-Database -Confirm:$False
Mount a single database
Dismount-Database -Identity DBNAME -Confirm:$False
Mount all databases of a server
Get-MailboxDatabase -Server SERVERNAME | Mount-Database -Confirm:$False
Cheers,
Chris
Great to read all the steps i was looking for from last 2 hours. 🙂 Powershell utility works well.
Thank you so much!
hmm… your syntax is wrong regarding Mount Database cmd.
Mount a single database
Mount-Database -Identity DBNAME -Confirm:$False