Thursday, April 7, 2011

Export Exchange 2007 account to *.pst file

1- download Exchange Management tools:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&displaylang=en

2- Install on windows XP x32 with Outlok installed.

3- Grant the user that will run the PowerShell Command "asabri"
Add-MailboxPermission -Identity 'Khalid Hassabou' -User 'MyDomain.COM\asabri' -AccessRights 'FullAccess'

4- Run this from Exchange powerShell:
Export-Mailbox -Identity "asabri@MyDomain.com" -PSTFolderPath E:\AhmadSabry\AS.pst


[PS] C:\Documents and Settings\asabri>Export-Mailbox -Identity "asabri@MyDomain.
com" -PSTFolderPath E:\AhmadSabry\AS.pst

Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Ahmad Sabry' into .pst file
'E:\AhmadSabry\AS.pst'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y


Identity : MyDomain.com/Consultants and Vendors/Ahmed S
abri
DistinguishedName : CN=Ahmed Sabri,OU=Consultants and Vendors,DC
=MyDomain,DC=com
DisplayName : Ahmad Sabry
Alias : asabri
LegacyExchangeDN : /o=NMTC/ou=Exchange Administrative Group (FY
DIBOHF23SPDLT)/cn=Recipients/cn=asabri
PrimarySmtpAddress : asabri@MyDomain.com
SourceServer : WTCXMB1.MyDomain.com
SourceDatabase : WTCXMB1\First Storage Group\SG1_Alpha
SourceGlobalCatalog : WTDC1
SourceDomainController :
TargetGlobalCatalog : WTDC1
TargetDomainController :
TargetMailbox :
TargetServer :
TargetDatabase :
MailboxSize : 12783KB
IsResourceMailbox : False
SIDUsedInMatch :
SMTPProxies :
SourceManager :
SourceDirectReports :
SourcePublicDelegates :
SourcePublicDelegatesBL :
SourceAltRecipient :
SourceAltRecipientBL :
SourceDeliverAndRedirect :
MatchedTargetNTAccountDN :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList :
TargetNTAccountDNToCreate :
TargetManager :
TargetDirectReports :
TargetPublicDelegates :
TargetPublicDelegatesBL :
TargetAltRecipient :
TargetAltRecipientBL :
TargetDeliverAndRedirect :
Options : Default
SourceForestCredential :
TargetForestCredential :
TargetFolder :
PSTFilePath : E:\AhmadSabry\AS.pst
RsgMailboxGuid :
RsgMailboxLegacyExchangeDN :
RsgMailboxDisplayName :
RsgDatabaseGuid :
StandardMessagesDeleted : 0
AssociatedMessagesDeleted : 0
DumpsterMessagesDeleted : 0
MoveType : ExportToPST
MoveStage : Completed
StartTime : 4/7/2011 11:03:14 AM
EndTime : 4/7/2011 11:03:35 AM
StatusCode : 0
StatusMessage : This mailbox has been exported to the PST fi
le.
ReportFile : C:\Program Files\Microsoft\Exchange Server\L
ogging\MigrationLogs\export-Mailbox20110407-
110257-6805407.xml

No comments: