View all properties of AD objects with PowerShell

View all AD properties

John Savill

March 15, 2017

1 Min Read
View all properties of AD objects with PowerShell

Q. How can I view all properties of an AD object using PowerShell?

A. There are numerous PowerShell cmdlets however normally they only return certain properties. To return all properties use the -properties * parameter or change to return only certain properties. For example:

$user | Get-ADUser -properties *

$user | Get-ADUser -Properties name, sAMAccountName, PasswordLastSet

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like