[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Obtaining list of usernames from AD (Active Directory)

Does anyone know of a way or tool that will allow me the following information from active directory?  I need only the information list below (although I can pull any additional unecessary information if someone knows of a way/tool that pulls more than I need).  

First Name
Last Name
Username

Please advise.  Thank you.
0
TheBrothaULuv2H8
Asked:
TheBrothaULuv2H8
  • 2
1 Solution
 
luv2smileCommented:
0
 
TheBrothaULuv2H8Author Commented:
From a command line

CSVDE -f users.csv -r "(&(onjectClass=user))"

Lists all computer and user information to a CSV file which I can open in excel delete unwanted columns and wham....good to go!

Thank you!
0
 
TheBrothaULuv2H8Author Commented:
typo

CSVDE -f users.csv -r "(&(onjectClass=user))"

should be


CSVDE -f users.csv -r "(&(objectClass=user))"
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now