Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Export All Mailboxes from Different Databases - Separately

I've created three separate databases and split my users up accordingly. I'll then export everymail within each db into separate PST's using this command:

get-mailbox | export-mailbox -PSTFolderPath c:\PstFiles  (thanks M)

But this command gets all maillboxes and I only need to from one DB at a time. I have tried this;
get-mailboxdatabase FRMAILSVR\Remote | export-mailbox -PSTFolderPath c:\PstFiles
but I get a strange error.
I know this can be done but I cant get the command right.  thanks for the help

0
DFCRJ
Asked:
DFCRJ
  • 2
1 Solution
 
gupnitCommented:
Hi,
Please use Get-Mailbox -Database DATABASENAME | Export-Mailbox  -PSTFolderPath c:\PstFiles
I hope you are aware of Export-Mailbox pre-reqs
Thanks
Nitin Gupta (gupnit)
0
 
gupnitCommented:
Do refer http://technet.microsoft.com/en-us/library/aa998579.aspx
And the command again: Get-Mailbox -Database DATABASENAME | Export-Mailbox  -PSTFolderPath c:\PstFiles
Thanks
Nitin Gupta (gupnit)
0
 
DFCRJAuthor Commented:
Thats exactly what I needed - They are flowing now - thanks
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now