?
Solved

exporting exchange 2007 mailbox to pst

Posted on 2009-12-29
5
Medium Priority
?
563 Views
Last Modified: 2012-05-08
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\
 
0
Comment
Question by:paulcondonjr
  • 4
5 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 26143592
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
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 26143598
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
0
 

Author Comment

by:paulcondonjr
ID: 26144453
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.
0
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 1400 total points
ID: 26144671
Ideally it should take the whole mailbox for that time ..... maybe some issue

Export-Mailbox -Identity salesperson1 -IncludeFolders '\Sent Items' , '\Inbox' -StartDate "10/01/2009" -EndDate "11/25/2009" -PSTFolderPath C:\PSTFiles\Sales.pst
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 26144676
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
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this article, I will demonstrate that how to do a PST migration from Exchange Server to Office 365. This method allows importing one single PST, or multiple PST's at once.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question