michelderooij / Invoke-Unarchive

Exchange script to move contents back from personal archives to primary mailboxes
https://eightwone.com/2021/08/14/unarchiving-mailbox-items/
MIT License
6 stars 1 forks source link
archiving exchange-server

Invoke-Unarchive

Exchange script to move contents back from personal archives to primary mailboxes

Blog: https://eightwone.com/2021/08/14/unarchiving-mailbox-items/

Notes:

Example:

.\Invoke-Unarchive.ps1 -Identity john@contoso.com -Server outlook.office365.com -Impersonation -Secret $MySecret -TenantId $TenantId -ClientId $ClientId -Verbose

Invokes unarchiving of contents from personal archive to primary mailbox for john@contoso.com. Authentication is OAuth using provided Tenant ID, Client ID and secret.