Active Directory query

Kai123Kai123 Member Posts: 364 ■■■□□□□□□□
Hey,

I have been tasked with compiling names, usernames and e-mails for new distance learning students for next month. I set them up, everything is all good but then HR wants a excel of the exact names that they can copy and paste so avoid any issues when the course starts.

I can export the names from ad (using the export list), which is a massive help. I have had a quick look for a solution and while it’s very doable, I don’t have time to figure it out. Microsoft has a good tutorial but it’s also very hard to read for a newbie (I don’t really understand the syntax yet!).

I will finish this manually before anyone might be able to help, but its out of principle now. I won’t be able to sleep at night not knowing how to simply extract 4 items of information from AD.

All the info needed is under the fields;

First name,

Last name,

e-mail,

User login name.

I hate knowing that I’m literally 30 odd keys away from a simple script to get this info from AD to a text file!
Kai.

Comments

Sign In or Register to comment.