This changes Get-NetGroup to accept a SID, and Get-NetGroupMembers to default to the Domain Admins SID. Hopefully should be more language agnostic - but I have yet to test it in anger on foreign domains - not sure if all the other LDAP fields are the same?
Also adds a Get-DomainSID command.
n.b. I have fixed output to show the GroupName now for -recurse.
Ideally should also plug it into StealthUserHunter.
This changes Get-NetGroup to accept a SID, and Get-NetGroupMembers to default to the Domain Admins SID. Hopefully should be more language agnostic - but I have yet to test it in anger on foreign domains - not sure if all the other LDAP fields are the same?
Also adds a Get-DomainSID command.
n.b. I have fixed output to show the GroupName now for -recurse.
Ideally should also plug it into StealthUserHunter.