Import export of objects
As an Exchange administrator, you will be asked to create new users, contacts, and export content from Active Directory. This section will show you how to import and export objects to and from Active Directory.
Import user accounts in bulk using a CSV file
If you are an administrator tasked with adding lots of mailboxes for new users who have joined the company, you can use PowerShell to create these users in bulk.
First, you need a CSV file with the list of users that has to be created. The format of the CSV file will look like the following screenshot:
Save this file as UserList.csv
.
The first line of the CSV file is important as it will indicate the corresponding values for the fields such as FirstName
, Alias
, and more for these users. Another thing to notice here is the presence of OU as I wanted to create these users in separate OUs in Active Directory. The password here is the same for simplicity, but it doesn't have to be this way; you can choose to use different...