Loading...

Disconnect, migrate and reconnect your PST with PowerShell


In this post I will show a little script I did that allows you to migrate your PST files to another location and then reconnect them automatically from the new location.

How it works ?
This script will do the below actions:
- Check if Outlook is opened, if yes it will be closed
- Check all PST files that are currently mapped in Outlook
- Disconnect PST files from Oulook
- Save those PST files in the new folder
- Mapped your PST files from the new location.

How to use it ?
Just type the below line:
The script
See below the script used to do that:

Script in action
- I have five PST archive opened in Outlook.

- I want to move them in the folder "C:\My_PST".
- The script is currently being executed.

- See below the "C:\My_PST" folder content

pst migration 1617232487296106911

Publier un commentaire

Accueil item

Award

Mes articles en français

Author of Books

PowerShell GUI & WPF Group

PowerShell GUI & WPF Group

Join the FPSUGR

Join the FPSUGR

Stats