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
}"