• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 44
  • Last Modified:

AD User Object export, w/ object attributes


I need to export all AD Users and AD attributes into a file for review and filtering. The info required is every attribute in the AD User object that has any information populated. Name, email, phone number, title, desription etc etc. Information is populated but my attempts do not generate all attributes in the object.

Please advise.
Michael Machie
Michael Machie
  • 2
1 Solution
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
Import-Module ActiveDirectory
Get-ADUser -Filter * -Properties * | export-csv c:\ADusers.csv

MichelangeloIndependent ConsultantCommented:
Be more specific i.e. describe your attempt orpost your code. As a rule of thumb get-adobject -properties * will return all ad object attributes.
Have a look here to startreading about different types of attributes. Note that attributes may have different bames depending on the cmdlet you use (for instance exchange cmdlets)
Michael MachieFull-time technical multi-taskerAuthor Commented:
Worked like a charm
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
# MS Powershell piping shell! #1
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.

Join & Write a Comment

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

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