Users
Get List of Users in Current Domain
# AD Module
Get-ADUser -Filter * -Properties *
Get-ADUser -Identity student1 -Properties *
Get-ADUser -Filter * -Properties * | Select Name
# PowerView
Get-NetUser
Get-NetUser -Username student1
Get-NetUser | Select cnGet List of All Properties for Users in Current Domain
# AD Module
Get-ADUser -Filter * -Properties * | Select -First 1 | Get-Member -MemberType *Property | Select Name
Get-ADUser -Filter * -Properties * | Select name,@{expression={[datetime]::fromFileTime($_.pwdlastset)}}Find All Users with an SPN
# PowerView
Get-DomainUser -SPNFind All Service Accounts in "Domain Admins"
Check for Users Who Don't Have Kerberos Preauthentication Set
Find Users with sidHistory Set
Find Any Users with Constrained Delegation Set
Find All Privileged Users that Aren't Marked as sensitive/not for Delegation
Get List of All Properties for Users in Current Domain
Search for a Particular String in a User's Attributes
Get Actively Logged on Users on a Computer (needs Local Admin Rights on the target)
Get Actively Logged on Users on a Computer
Get the Last Logged User on a Computer
Get All Users with Passwords Changed > 1 Year ago
Get All Enabled Users
Get All Disabled Users
Get All Users that Require Smart Card Authentication
Get All Users that don't Require Smart Card Authentication
Use Multiple Identity Types for Any -Domain Function
Enumerate All Foreign Users in the Global Catalog, and Query the Specified Domain Localgroups for Their Memberships
If Running in -sta Mode, Impersonate Another Credential a la "runas /netonly"
Set the Specified Property for the given User Identity
Set the Owner of 'dfm' in the Current Domain to 'bufu'
Retrieve most Users Who Can Perform DC Replication for dev.testlab.local (i.e. DCsync)
Check if Any User Passwords Are Set
User Hunting with PowerView
Find All Machines on the Current Domain where the Current User Has Local Admin Access
Find Local Admins on All Machines
Find Computers where a Domain Admin (or Specified User/group) Has Sessions
Confirm Admin Access
Find Computers where a Domain Admin is Logged-in
Enumerate Servers that Allow Unconstrained Delegation and Show All Logged in Users
Hunt for Admin Users that Allow Delegation, Logged into Servers that Allow Unconstrained Delegation
Defending against User Hunting
NetCease
SAMRi10
Last updated