NOC123
asked on
AD Query Script for Sec Groups
I am looking for an AD script to help us audit our security groups. I would like to be able to get an output of all the Sec groups we have and their members. Is this possible?
ASKER
Im sure I am missing a step, but just tried to run that script and it only spit out a blank CSV
What version of Windows are you running? Do you get any errors? Are you running it from a computer that has the Active Directory Powershell module on it?
ASKER
Server 2008 R2 and yes a few errors:
Get-adgroup is not recognized
get-adobject is not recognized
exception setting groupcreated
exception setting groupmodified
Get-adgroup is not recognized
get-adobject is not recognized
exception setting groupcreated
exception setting groupmodified
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
worked great and exactly what i needed! thanks!
Glad to help. :)
Open in new window