Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Friday, November 11, 2011

List all properties of a user object with PowerShell

Enumerating a user account’s properties in PowerShell using the command get-ADUser – Filter ‘name –like “username”’ only gets you a small subset of the data.

image

If you want to see it all, try this:

get-aduser –filter ‘name –like “username”’ –Properties *

 

You will see all the attributes of the user object.

No comments: