July 24th, 2014

PowerTip: Identify All Properties for Active Directory User

Doctor Scripto
Scripter

Summary: Use the –Properties parameter to find all properties attached to an Active Directory user.

Hey, Scripting Guy! Question How can I use Windows PowerShell rather than digging through the ADSI editor to find
           the available properties for a user in our Active Directory?

Hey, Scripting Guy! Answer Leverage the –Properties parameter on a single user to see all available property names:

GET-Aduser Jubal.Harshaw –properties * | Get-Member

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.