Using a PowerShell script to rename archive folders in bulk

After moving between email providers or platforms you may find you need to rename a large number of archive folders. Doing this directly in the MailStore client can take minutes per folder as the database entries are updated in real time and so it can become a long and laborious manual task.

To help speed up this process you can use the Powershell script available below to batch this operation by creating a pre-formatted CSV file with a list of users as they are currently as well as the new name to change them to.


Download and extract the zip file on the MailStore Server into a folder called C:\zen and edit the users.csv file to reflect the permissions needed.

Before running the PowerShell script, you must first edit it and change the $adminpasswd to match the password you use for the default admin account in MailStore.