Get-NetGPO | %{Get-ObjectAcl -ResolveGUIDs -Name $_.Name} |?{$_.IdentityReference -match "users"}
Invoke-ACLScanner -ResolveGUIDs | ?{$_.IdentityReference -match "users"}
Invoke-ACLScanner -ResolveGUIDs | ?{$_.IdentityReference -match "RDPUsers"}
Get-NetGPO | %{Get-ObjectAcl -ResolveGUIDs -Name $_.Name}
Get-ObjectAcl -SamAccountName "Domain Admins" -ResolveGUIDs -Verbose
Get-ObjectAcl -SamAccountName "users" -ResolveGUIDs -Verbose
Get-NetForestDomain -Verbose | Get-NetDomainTrust
Get-NetDomainTrust
Get-NetForestDomain -Verbose
Get-NetDomainTrust | ?{$_.TrustType -eq 'External'}
Get-NetForestDomain -Forest eurocorp.local -Verbose | Get-NetDomainTrust
Get-NetForestDomain -Verbose | Get-NetDomainTrust | ?{$_.TrustType -eq 'External'}
Invoke-BloodHound -CollectionMethod All
Invoke-BloodHound -CollectionMethod LoggedOn -Verbose
Get-NetGPO
Get-NetOU UserMachines | %{Get-NetComputer -ADSPath $_}
Get-NetGroupMember -GroupName RDPUsers
Get-NetGPOGroup -Verbose
(Get-NetOU StudentMachines -FullData).gplink
[LDAP://cn={3E04167E-C2B6-4A9A-8FB7-C811158DC97C},cn=policies,cn=system,DC=dollarcorp,DC=moneycorp,DC=local;0]
Get-NetGPO -ADSpath 'LDAP://cn={3E04167E-C2B6-4A9A-8FB7-C811158DC97C},cn=policies,cn=system,DC=dollarcorp,DC=moneycorp,DC=local'