Thursday, March 11, 2010

Exchange Server 2010 - Create New Mailbox Database

.......... wassssupppppppppppppppppppp..??????
Well, am back, Early thursday morning and I aint sleeping, lets learn something, today i will show you how to create a new mailbox database using powershell.

It is a very simple one-liner again, below is the actual command:
new-mailboxdatabase -name 'MBX DB2' -server 'w2k8r2' -edbfilepath 'C:\MailboxDB\DB2\MBX_DB2.edb' -logFolderPath 'C:\MailboxDB\DB2_Logs'

Press Enter, vola, you have your new mailbox database created :)
When you create this new DB, you can note that it is not mounted, you have to mount it urself, well again you can use this below command to mount a database:
mount-database -identity 'mbx db1'

YOu can now see in EMC, that the new DB is created:
And below is the screenshot of the mount command, pretty straight forward though.

2 comments:

  1. Couple weeks ago I ran across one problem which forced me to be nervous. It was so resemble to this trouble. But then I could rapidly determine it with the help of next tool, which showed me how it could restore Microsoft Exchange Server contacts can be installed on any computer using Windows or might help in any other complicated situation - restore contact list from microsoft exchange server.

    ReplyDelete
  2. Nice Explainer. I've had good experience with EdbMails Edb to PST recovery tool - which provides a complete solution to recover Exchange Database (EDB) files. It is quick and uses deep scan to recover most data out of even corrupted databases.It supports public, private folder recovery. And also supports migration to Live exchange and Office 365. Archive mailbox migration is also supported by edbmails

    ReplyDelete