Link to home
Create AccountLog in
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
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Indie101
Indie101

ASKER

Thanks Chris