edb???
Creating a public folder database is fairly straightforward. The two required parameters are Name and
StorageGroup . The HasLocalCopy parameter is used to create a Local Continuous Replication (LCR)
copy of the database. You can enable LCR if this is the only public folder database in the organization.
Chapter 5: Public Folders
141
It is not possible to create more than one public folder database on a mailbox server. Trying to create
additional databases will result in the following error:
A Public folder database already exists on the server that you specified. Each
server can contain a maximum of one Public folder database. Public folder
database: ???pub???; Specified server: ???MB900???.
It is also possible to pipe the StorageGroup parameter combining the Get-MailboxDatabase and
New-PublicFolderDatabase cmdlets:
New-PublicFolderDatabase -Name pub -StorageGroup ???MBX\First Storage Group???
Get-MailboxDatabase -server MBX | Set-MailboxDatabase -
PublicFolderDatabase ???MBX\First Storage Group\pub???
What ??™ s going on in this example? The New-PublicFolderDatabase cmdlet takes two parameters. The
first is the database name for the new public folder, and the second is the storage group location
(consisting of the server name and storage group name).
Next, the script sets all of the mailbox databases ??™ public folder database property to the newly created
public folder database.
Pages:
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237