Export-Mailbox –Identity “alias” -PSTFolderPath C:MAILARCHIVES -EndDate “01/01/2015” -ExcludeFolders “Contacts”,”Drafts”,”Notes”,”Calendar”,”Tasks” -DeleteContentThe explaination of this command is as below:
- Export-Mailbox – this is the powershell command to export the mailbox
- -Identity “alias” – this is the “alias” of the Exchange Mailbox you want to export
- -PSTFolderPath C:MAILARCHIVES – this is the location your PST will be exported to
- -EndDate “01/01/2015” – when you want to export up to
- -ExcludeFolders – The items you may want to exclude from export – remove or add where applicable
- “Contacts”,”Drafts”,”Notes”,”Calendar”,”Tasks”
- -DeleteContent – Deletes the mailbox items after export
Feedback
If you have any questions or comments on this guide, please feel free to leave us a message below.Gear We Recommend
Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.
Browse our Windows Admin Toolkit picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.