export specific mailboxes to pst
Hi all, most examples show how to export 1 mailbox or the entire DB to PST.
I'm trying to export specific users eg user1 and user2, I know I need to use Get-user parameter some how?.
Currently this works for one user1
export-mailbox -identity user1 -pstfolderpath c:\pst
But I want to export both user1 and user2 in succession.....
Can someone please help with the syntax.
Ray..
June 29th, 2010 2:20pm
I found the answer
create a csv with a list of users that need to be export.
First row should contain the word name
then run below from exchange cmdlet
import-csv -path c:\pst\exportlist.csv | foreach-object {get-mailbox -identity
$_.name} | export-mailbox -pstfolderpath c:\pst\
Ray..
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2010 5:21pm
Hi Ray,
Thanks for your sharing. It's very helpful.Frank Wang
July 2nd, 2010 9:43am