How to do an AD Object Attribute Dump

How to do an AD Object Attribute Dump
LVL 2
Jorge OcampoAsked:
Who is Participating?
 
Will SzymkowskiSenior Solution ArchitectCommented:
If you are simply trying to get all properties for a specific user then just use the Get-ADUser cmdlet.
Import-module activedirectory
Get-ADUser -Identity <samaccountname> -Properties * | select | export-csv "c:\filename.csv -nti

Open in new window


Will.
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Need some more detail. But all you need to do is this following...
import-module activedirectory
Get-ADObject -Filter * -Properties * | select | export-csv "c:\filename.csv" -nti

Open in new window


Will.
0
 
Jorge OcampoAuthor Commented:
where do i put the user?
0
 
Jorge OcampoAuthor Commented:
i am trying to get all properties
0
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.

All Courses

From novice to tech pro — start learning today.