Giter Site home page Giter Site logo

jsan-codes / invoke-unarchive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michelderooij/invoke-unarchive

0.0 0.0 0.0 891 KB

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

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

License: MIT License

PowerShell 100.00%

invoke-unarchive's Introduction

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:

  • Requires Exchange Server 2013 SP1 (or later) or Exchange Online
  • Microsoft Exchange Web Services (EWS) Managed API 2.21 or up is required. This is available as NuGet package, e.g. Install-Package exchange.webservices.managed.api See https://eightwone.com/2020/10/05/ews-webservices-managed-api on how to add NuGet as package provider.
  • OAuth requires MSAL library (Microsoft.Identity.Client.dll). This is also available as a NuGet package, e.g. Install-Package Microsoft.Identity.Client -ProviderName NuGet
  • Search order for DLL's is script Folder then installed packages.
  • Script has not been tested with mixed locality, e.g. primary mailboxes on-premises with Exchange Online archives.

Example:

.\Invoke-Unarchive.ps1 -Identity [email protected] -Server outlook.office365.com -Impersonation -Secret $MySecret -TenantId $TenantId -ClientId $ClientId -Verbose

Invokes unarchiving of contents from personal archive to primary mailbox for [email protected]. Authentication is OAuth using provided Tenant ID, Client ID and secret.

invoke-unarchive's People

Contributors

michelderooij avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.