Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance forum
Viewing all articles
Browse latest Browse all 1453

Selecting Specific Database during creation of Bulk Mailboxes

$
0
0

Hi All,

I am look for help with a Exchange Shell script, I want to create user mailboxes using a CSV file. My goal is to use some attribute to select specific databases while creating a mailbox.

E.g:

Users name: Site1User1, Site2User1, Site1User2, Site2User2 

Databases: Site1DB1, Site1DB2, Site2DB1, Site2DB2

When first user of Site1 is created it should select: Site1DB1 Database

When Second User of Site 1 it should select: Site1DB2 Database

When first user of Site2 is created it should select: Site2DB1 Database

I think this can be done combining Array and switch statement, but I am unable to figure this out.

Need your suggestions on this.

Thanks


VN


Viewing all articles
Browse latest Browse all 1453

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>