I have a script I used to get number of powershell groups and nested groups, is there a way to get privileged groups from this, normally you would expect full time employees to be aware of this, but in this case they're not, any ideas?
Using below script to find groups (over 3000 of them)
Get-ADGroup -filter * -searchbase "dc=test,dc=com" | export-csv C:\groupsincbi.csv -NoTypeInformation