PowerShell script exchange
Post Reply
ri_joe
Influencer
Posts: 10
Liked: never
Joined: May 02, 2019 8:28 am
Contact:

Restore mail items and keep the original folder structure

Post by ri_joe »

Hi,

Currently we are using Restore-VEXItem command to restore mail items. but it seems the restored items do not include folder structure of original items. It mix up all mails from incoming mail, outgoing mail, and calendar as well. All restored items are put in same folder.

Does the command support this feature? below is the sample code.

Code: Select all

Restore-VEXItem -Item $items -Server 'VMS3UATEMBX01' -TargetMailbox 'abc@test.com' -ToFolder 'Restored Mail\A218-00407_29-Oct-2019' -RestoreChangedItem -RestoreDeletedItem -Credential $cred 
Thanks.
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Restore mail items and keep the original folder structure

Post by oleg.feoktistov »

Hi,

Can you, please, clarify if you are asking about the possibility to preserve initial hierarchy when targeting restore to a separate folder like in your example
or preserve initial hierarchy when a source container is targeted?

Thanks,
Oleg
ri_joe
Influencer
Posts: 10
Liked: never
Joined: May 02, 2019 8:28 am
Contact:

Re: Restore mail items and keep the original folder structure

Post by ri_joe »

Hi Oleg,

it's to preserve initial hierarchy when targeting restore to a separate folder. Because we want to differentiate the restored mails from original mails.

Thanks.
Joe
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Restore mail items and keep the original folder structure

Post by oleg.feoktistov »

In case of targeting a separate folder it should preserve original hierarchy inside new target folder. Can you, please, share your Exchange Explorer build number? Also, does the same happen when restoring from the VEX UI? Thanks!
ri_joe
Influencer
Posts: 10
Liked: never
Joined: May 02, 2019 8:28 am
Contact:

Re: Restore mail items and keep the original folder structure

Post by ri_joe »

Hi Oleg,

After discussion with user, we agreed to change from Restore-VEXItem -Item to Restore-VEXItem -Folder.

Thanks for your information and support.

Joe
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests