Using a PowerShell script to import users from csv file

< 1 min read

If you need to import a large list of users into MailStore but cannot use one of the User Directory Services you may think the only option is to add each user one by one through the MailStore Client interface. 

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 and their credentials. Running the PowerShell script will create users automatically in MailStore.

Steps:

Download the Zip file below and extract it onto 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 edit it and change the $adminpasswd to match the password you use for the default admin account in MailStore.