Basic Enumeration
Importing PowerView and the AD Module
Import-Module .\PowerView.ps1
Import-Module .\Microsoft.ActiveDirectory.Management.dll
Import-Module .\ActiveDirectory.psd1Enumerating the domain
Get the Current Domain
Get-NetDomain
Get-ADDomainGet the Object of Another Domain
Get Domain SID's
Get Domain Policy for the Current Domain
Get Domain Policy for Another Domain (AD Module)
Dump the Password Policy
Get Domain Controllers for the Current Domain
Get Domain Controllers for Another Domain
Enumerating Users in the Domain
Get Users for the Current Domain
Get All Property Names for Users in the Current Domain
Selecting a Specific Property to Examine
Searching For a String in a User's Attributes
Enumerating Computers
Listing the Computers in the Current Domain
Enumerating Groups
List All the Groups in the Current Domain
Searching for Groups With a Particular Word in the Name
Find All Domain Admins
Enumerate Group Memberships of a User
List All Local Groups on the Current Machine (on non-DC machines it requires admin privileges) (PowerView)
List All Local Groups on Another Machine (on non-DC machines it requires admin privileges) (PowerView)
Finding Logged-On Users
Get Active Users on a Machine (requires local admin rights on the target) (PowerView)
Get Local Logged-On Users on Another Machine (needs remote registry on the target - started by-default on server OS) (PowerView_dev)
Get the Last Logged-On User on a Computer (needs admin privileges and remote registry on the target) (PowerView)
Finding Interesting Files and Shares (PowerView)
Find All File Servers on the Domain With a Focus on High Value Targets (PowerView)
Group Policy Objects (GPO's)
Find GPO's in the Current Domain
Find GPO's Which Use Restricted Groups or groups.xml for Interesting Users
Find Users Which Are in a Local Group of a Machine Using a GPO
Find Machines Where a User is a Member of a Specific Group
Get OU's in a Domain
Get-GPO Applied on an OU and Read GPO Name from the GPLink Attribute
Enumeration From Outside of the Network
Last updated