Active Directory Attributes Tool
Audience
Audience: Administrators
Overview
The Active Directory Agent comes with a tool to retrieve attributes on individual users. You can use the below tools to find what attributes hold what data.
Retrieve All Attributes for a User
Launch Windows PowerShell
Use the "cd" command to navigate to the AD Agent folder
Type "python ad_attributes.py -u 'xxx' -a all" and hit Enter (xxx is the individual username you wish to use)
A list of every available attribute will be outputted into Windows PowerShell
Retrieve a Specific Attribute for a User
Launch Windows PowerShell
Use the "cd" command to navigate to the AD Agent folder
Type "python ad_attributes.py -u 'xxx' -a 'yyy" and hit Enter (xxx is the individual username you wish to use and yyy is the name of the attribute you wish to query)
The attribute's value will be output into Windows PowerShell
Retrieve All Attributes for a File
Launch Windows PowerShell
Use the "cd' command to navigate to the AD Agent folder
Type "python ad_attributes.py -u xxx -a all > yyy.txt" and hit Enter (xxx is the individual username you wish to use and yyy is the name of the file you wish to create)
The file will be located in your AD Agent folder