CommandDescription
xfreerdp /v:<target IP address> /u:htb-student /p:<password>RDP to lab target
 Get-DomainPolicyView the domain password policy
.\SharpView.exe ConvertTo-SID -Name sally.jonesConvert a username to a SID
.\SharpView.exe Convert-ADName -ObjectName S-1-5-21-2974783224-3764228556-2640795941-1724Convert a SID to a username
Get-DomainUser harry.jones | ConvertFrom-UACValue -showallList all UAC values
.\SharpView.exe Get-DomainView information about the current domain
.\SharpView.exe Get-DomainOUList all OUs
.\SharpView.exe Get-DomainUser -KerberosPreauthNotRequiredFind ASREPRoastable users
Get-DomainComputer Get a listing of domain computers
.\SharpView.exe Get-DomainGPO | findstr displaynameList all GPO names
Get-DomainGPO -ComputerIdentity WS01List GPOs on a specific host
Test-AdminAccess -ComputerName SQL01Test local admin access on a remote host
.\SharpView.exe Get-NetShare -ComputerName SQL01Enumerate open shares on a remote computer
Find-DomainUserLocationFind machines where domain users are logged in
Get-DomainTrustView a list of domain trusts
(Get-DomainUser).countCount all domain users
.\SharpView.exe Get-DomainUser -HelpGet help about a SharpView function
Get-DomainUser -Properties samaccountname,description | Where {$_.description -ne $null}Find non-blank user description fields
.\SharpView.exe Get-DomainUser -SPNFind users with SPNs set
Find-ForeignGroupFind foreign domain users
Get-DomainGroup -Properties NameList domain groups
.\SharpView.exe Get-DomainGroupMember -Identity 'Help Desk'Get members of a domain group
.\SharpView.exe Get-DomainGroup -AdminCountList protected groups
.\SharpView.exe Find-ManagedSecurityGroupsList managed security groups
Get-NetLocalGroup -ComputerName WS01Get local groups on a host
.\SharpView.exe Get-NetLocalGroupMember -ComputerName WS01Get members of a local group
.\SharpView.exe Get-DomainComputer -UnconstrainedFind computers that allow unconstrained delegation
Get-DomainComputer -TrustedToAuthFind computers set with constrained delegation
Get-DomainObjectAcl -Identity harry.jonesEnumerate ACLs on a user
Find-InterestingDomainAclFind objects in the domain with modification rights over non built-in objects
Get-PathAcl "\\SQL01\DB_backups"Find the ACLs set on a directory
gpresult /r /S WS01Get a report of all GPOs applied to a host
Get-DomainGPO | Get-ObjectAclFind GPO permissions
Get-DomainTrustMappingEnumerate trusts for our domain/reachable domains