Using a PowerShell script to configure user permissions

You may wish to configure user permissions in MailStore on multiple users at the same time.

For example: if you have 30 MailStore users that all need access to different users MailArchives, you would have to configure this manually through the MailStore Client UI one by one.

To help speed up this process you can use the below PowerShell script to batch this operation by creating a pre-formatted CSV file with a list of users and the folders each user needs access to.


Download the zip file below and extract it onto the MailStore Server into a folder called C:\zen and then 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.