I would like to use Powershell to create a username and email address from a csv file that contains 2 columns, first name and last name. The username is derived from the first initial of the first name plus last name.
As a start look at this.
What kind of output would you like to have?
There might be problems, if you use such a character set, that include characters that are not accepted as username or email address.
Managing Active Directory can get complicated. Often, the native tools for managing AD are just not up to the task. The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.