Export multiple mailboxes to PST files
I need to export a list of 10 mailboxes to a PST file. The PST should be the name of the user.
I see an answer here for this:
http://social.technet.microsoft.com/Forums/en/ITCG/thread/f00649c2-7e5f-4c0e-87f8-4c7b452b8a17
Is this the best way? Do I just copy the below into a PST file and run it?
"
$content = get-content "your source file here"
foreach ($user in $content)
{
export-mailbox $user -pstfolderpath e:\exports\$user_ Mailbox.pst
}"
March 20th, 2011 2:51pm
No you don't put this information into a PST file This is a script you would run and where it says "your source file here" you would replace it with the path the to source file with the name of the mailboxes you wanted to export.
The simpler option is to just export all the mailboxes with this command Get-Mailbox –Database “<Exchange Server FQDN>\<Database Name>” | Export-Mailbox –PSTFolderPath C:\PSTFiles
Other option is to use a 3rd party utility like Lucid8's DigiScope
http://www.lucid8.com/product/digiscope.asp Troy Werelius
www.Lucid8.com
Free Windows Admin Tool Kit Click here and download it now
March 20th, 2011 3:31pm