Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User list from AD

Status
Not open for further replies.

mwmm

MIS
Nov 7, 2003
5
US
Hello,

I want to have a nightly script that will produce a text file of ALL users in AD and their department.

I want the list to look like:

samAccountName [TAB] Department

I have seem some VB script examples but can't seem to get on adapated to do this.

Any ideas or examples?

Thanks in advance...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top