Where can I find a complete list of Active Directory attributes for Select-Object?

June 18, 2025 1 answer
Asked by CuriousCat42
I'm looking for a comprehensive list of all the attributes we can use with Select-Object for Active Directory. For example, I'm often interested in pulling details like a user's mobile numbers, job titles, direct reports, P.O. Box, country code, Object GUID, and so on. I usually end up googling for specific attributes, but it would be great to have a single source for everything. Is the list just the precise attribute names as they are?

Answers

TechieTinker
You can simply use `Get-AdUser -Properties *` to retrieve all the properties for a user. It's pretty straightforward!

DataDynamo99: But is there a downside to using `-Properties *` all the time? I feel like it could impact performance, but how much of a difference does it really make?

ScripterSally: Definitely, and if you want to make it cleaner, you can pipe it to `| select *` for better clarity.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions