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

0
1
Asked By CuriousCat42 On

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?

1 Answer

Answered By TechieTinker On

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

ScripterSally -

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

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?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.