How to query Active Directory security groups with Powershell?

This tutorial explains how to query Active Directory security groups with Powershell.

  • Open Powershell
  • Type the command: Get-ADPrincipalGroupMembership username | select name | sort name (change it to the username you want)
  • Press Enter
  • All security groups will appear
Scroll to Top