Groups

Get All Groups in Current Domain

# AD Module
Get-ADGroup -Filter * | Select Name
Get-ADGroup -Filter * -Properties *

# PowerView
Get-NetGroup
Get-NetGroup -FullData

Get Information about Groups in other Domain

Get-NetGroup -Domain lab.local

Get All Groups Containing the Word "admin" in Group Name

# AD Module
Get-ADGroup -Filter 'Name -Like "*admin*"' | Select Name

# PowerView
Get-NetGroup "*admin*"

Get Information about Specific Group

Get All Members of Domain Admins Group

Get List of Enterprise Admins, only Available from Forest Root

Get Group Membership for a User

List All Local Groups on a Machine (needs Administrator Privileges on Non-dc Machines)

Get Members of All Local Groups on a Machine (needs Administrator Privileges on Non-dc Machines)

Find Linked DA Accounts Using Name Correlation

Find Any Machine Accounts in Privileged Groups

Enumerate All Groups that Don't Have a Global Scope, Returning just Group Names

Last updated