As a network administrator I am frequently required to create scripts to retrieve particular  information about users from Active Directory.  Here are some useful AD attributes for you to use in your scripts.

  • DisplayName
  • cn – Common Name
  • mail = email address
  • c = Country
  • homephone = no explanation needed here
  • l =  City
  • mobile
  • postalCode = post code
  • st = State
  • streetAddress
  • telephoneNumber = Office number
  • whenCreated – the day the object was created

There certainly are more but for me these are the main ones for the reports I use.