We have a visual basic script that runs the following sql command:
select Accountid, username, password, firstname, left(middlename, 1) + '.' as mi, lastname, email as email, campusid, addressid, status from createstudentnetwork"
it then takes the information and creates an active directory for the registered student. I've been working on a solution for this in powershell for days now and my solutions are less than elegant. Do one of you powershell masters have an elegant way to perform this? Thank you in advance.