O'Reilly logo

Microsoft Exchange 2010 PowerShell Cookbook by Mike Pfeiffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing the mailbox and the public folder databases

The Exchange Management Shell provides a set of cmdlets for both mailbox and public folder database management. In this recipe, we will take a look at how you can use these cmdlets to create, change, or delete mailbox and public folder databases.

How to do it...

The process for managing mailbox and public folder databases is nearly identical: you just need to use the appropriate cmdlet for the job. Let's start off with mailbox databases:

  1. To create a mailbox database, use the New-MailboxDatabase cmdlet, as shown in the following example:
    New-MailboxDatabase -Name DB4 `
    -EdbFilePath E:\Databases\DB4\DB4.edb `
    -LogFolderPath E:\Databases\DB4 `
    -Server EX01
  2. You can mount the database after it has been ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required