Using a PowerShell script to create MailStore users from a csv file
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 attached Zip file 'Powershell script to import users from csv.zip'
- Extract it onto the MailStore Server into a folder called C:\zen
- Edit the included Users.csv file to reflect the permissions needed
- Edit the Powershell script 'Create MailStore Users from csv.ps1' and change the $adminpasswd to match the password you use for the default admin account in MailStore.
- run the Powershell script 'Create MailStore Users from csv.ps1'
Related Articles
Using a PowerShell script to configure user permissions in bulk
If you wish to configure user permissions in MailStore on multiple users at the same time, there is no easy way to do this within the MailStroe Client For example: if you have 30 MailStore users that all need access to different users MailArchives, ...
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 ...
Importing Multiple PST files in MailStore using Python script
The MailStore API can be utilised to automate tasks that would be laborious to do manually. One such task is importing a large number of PST files for multiple Users. A good example of this is when you want to archive pre-existing Office 365 Archives ...
Rebuilding Damaged MailStore Database using gfix.exe tool
In some cases, it is possible to recover a MailStore Database file that has damage using the built-in Firebird database backup and recovery tool gfix.exe The location of the gfix.exe tool varies based on the version of MailStore: MailStore version 10 ...
Moving a MailStore server installation to a new server
To move a MailStore Server archive to a new machine including all users, settings and emails follow these steps: Stop the MailStore Server service on the current machine, either through the MailStore Server Service Configuration tool or the service ...