Enumeration Flashcards
AD enumeration (48 cards)
PV: Return a given domain object
Get-NetDomain
AD: Return a given domain object
Get-ADDomain
PV: Get the Domain SID
Get-DomainSID
AD: Get the Domain SID
Get-ADDomain
(Get-ADDomain).DomainSID
PV: Get the Domain Policy
Get-DomainPolicy
PV: List the Domain Controllers
Get-NetDomainController
AD: List the Domain Controllers
Get-ADDomainController
PV: Get a list of users in the domain
Get-NetUser
AD: Get a list of users in the domain
Get-ADUser
PV: Get a list of user properties
Get-UserProperty
PV: Search user object fields for a given word
Find-UserField -SearchField -Search Term
PV: Get a list of computers in the domain
Get-NetComputer
AD: Get a list of computers in the domain
Get-ADComputer
PV: Get a list of all groups in the current domain
Get-NetGroup
AD: Get a list of all groups in the current domain
Get-ADGroup
PV: Get members of a domain group
Get-NetGroupMember
AD: Get members of a domain group
Get-ADGroupMember
PV: Get domain groups that the specified user is a member of
Get-NetGroup -UserName
AD: Get domain groups that the specified user is a member of
Get-ADPrincipalGroupMembership -Identity
PV: List the local groups on a machine
Get-NetLocalGroup -ListGroups
PV: Get actively logged on users. Needs admin on target
Get-NetLoggedOn
Get locally logged on users on a computer. Needs remote registry
Get-LoggedOnLocal
PV: Get the last logged on user on a computer
Get-LastLoggedOn
PV: Find shares on hosts
Invoke-ShareFinder