Mail Folders to another Mailbox with Powershell


This code allows you to export a folder and all contents to anothers mailbox with Powershell. This can be useful if a manager requires the contents of certain folders created by an ex-exployee.

Export-Mailbox -Identity SourceUserName -IncludeFolders ‘\Inbox\_Misc’ -TargetFolder _Misc -TargetMailbox TargetUserName

This needs to be run on the mail server

Hope this helps

 

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: