PowerTip: Use PowerShell Get-Member to See Properties of Active Directory Users

PowerTip: Use PowerShell Get-Member to See Properties of Active Directory Users

  • Comments 1
  • Likes

Summary: Learn how to use the Windows PowerShell Get-Member cmdlet to see all the properties of an Active Directory user account.

Hey, Scripting Guy! Question How can you use the Get-Member cmdlet to see all of the properties of a user account in Active Directory?

        Hey, Scripting Guy! Answer Use the Get-ADUser cmdlet from the ActiveDirectory module, and use a wildcard for the value of the Properties parameter. Pipe the result to the Get-Member cmdlet.

                          Get-ADUser -Filter * -Properties * | Get-Member -MemberType property

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment