Link to home
Start Free TrialLog in
Avatar of paulcondonjr
paulcondonjr

asked on

exporting exchange 2007 mailbox to pst

I have an employee that was fired, and my boss would like his email archived to a pst folder. I am using the following commands, and the results are that I get everything in the deleted items, nothing in the inbox, and nothing in the sent items. If I use the -IncludeFolders "\Inbox" function, then I see the emails for that particular folder.

If possible, I would like to export everything, including possible added folders or subfolders that the salesperson1 added.

Can someone help?

I have my vista 32-bit box with the exchange management tools installed.
I am exporting from exchange 2007 64-bit.

Get-MailboxDatabase -identity "mso-exchange3\First Storage Group\Mailbox Database" | Add-ADPermission -user "jails\pcondon" -ExtendedRights Receive-As

Add-MailboxPermission -Identity salesperson1 -User pcondon -AccessRights FullAccess

Export-Mailbox -Identity salesperson1 -StartDate "10/01/2009" -EndDate "11/25/2009" -PSTFolderPath c:\pstfiles\
 
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

You are going the right way just add the Alias.pst in the last as its for one user (Alias of the salesperson1 account name)
Ideally ADPermissions have nothing to do in this scenario, its just the MailboxPermissions required

Export-Mailbox -Identity salesperson1 -StartDate "10/01/2009" -EndDate "11/25/2009" -PSTFolderPath c:\pstfiles\Alias.pst
Export-Mailbox
http://technet.microsoft.com/en-us/library/aa998579(EXCHG.80).aspx

This will get the data from the entire mailbox to a user PST
Export-Mailbox -Identity john@contoso.com -PSTFolderPath C:\PSTFiles\john.pst
Avatar of paulcondonjr
paulcondonjr

ASKER

I am having two problems:

The command is exporting the deleted items folder.

I am getting everything for the deleted folder.

I only need the timeframe that I specified above.
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So is it also that you dont want the Deleted Items folder if not then you can use the -ExcludeFolders parameter and specify the folder name