how to get AD User attributes in Windows 2003

Hi Experts,

How can I get all of attributes for an AD user?

Thanks you for your help in advance.

EN
EnjoyNetAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joshua GrantomSenior Systems AdministratorCommented:
Are you trying to do this from a server 2003 or is this a server 2003 domain? A little more info would be helpful. If you are on a windows 7 pc then you can run this powershell

get-aduser (username) -properties *

and it will return all of their info
0
Kevin StanushApplication DeveloperCommented:
Another command:

ldifde -d "CN=user,CN=container,DC=xxx,DC=yyy" -f user.txt
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Joshua GrantomSenior Systems AdministratorCommented:
if you want to export the data from the powershell above use this

$username = PutUsernameHere
get-aduser $username -properties * | Out-File C:\$username.txt

Open in new window


it will export the info to a text file with their username as name also
0
SubsunCommented:
I would suggest Quest ActiveRoles Management Shell for Windows 2003 Domain..

Install Quest ActiveRoles Management Shell on any COMPUTER which is connected to domain. Please refer the link for installation files.
http://www.quest.com/powershell/activeroles-server.aspx

Open ActiveRoles Management Shell for Active Directory console..

Start | All Programs | Quest Software | ActiveRoles Management Shell for Active Directory

Run the following command to list all attributes of UserA
Get-QADUser UserA -all | FL *

Open in new window


Run the following command to export all attributes of UserA to a csv file..
Get-QADUser UserA -all | Export-Csv C:\report.csv -nti

Open in new window


But if you can't use the Quest tool then you need to use CSVDE, LDIFDE or VBscripts

Ref :
http://ss64.com/nt/csvde.html
http://www.computerperformance.co.uk/Logon/CSVDE_LDIFDE.htm
0
EnjoyNetAuthor Commented:
Thanks to all.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.