Avatar of Indie101
Indie101

asked on 

Powershell script to find privileged groups amongst groups and nested groups

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
PowershellActive Directory

Avatar of undefined
Last Comment
Indie101

8/22/2022 - Mon