I found a script online to create storage groups... I am looking for
one that creates databases... anyone know of one?

thanks in advance,
joe

Re: Scripting the creation of a database... by Chad

Chad
Thu May 08 09:48:16 CDT 2008

On May 8, 9:17=A0am, josephhand <josephh...@gmail.com> wrote:
> I found a script online to create storage groups... I am looking for
> one that creates databases... anyone know of one?
>
> thanks in advance,
> joe

Here is a script that I found in my book. I've never ran it though.

New-MailboxDatabase -StorageGroup: 'Second Storage Group' -Name:
'Second Mailbox Database' -EdbFilePath: 'C:\Program Files\Microsoft
\Exchange Server\Mailbox\Second Storage Group\Second Mailbox
Database0.edb' -HasLocalCopy:$True -CopyEdbFilePath:'C:\Program Files
\Microsoft\Exchange Server\Mailbox\Local Copies\Second Storage Group
\Second Mailbox Database0.edb'