Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Report of security groups in AD

  • 25-10-2012 8:16am
    #1
    Registered Users, Registered Users 2 Posts: 3,100 ✭✭✭


    Hi All

    Is it possible to run a report in AD to pull all the members and Security Groups instead of typing them manually?


Comments

  • Registered Users, Registered Users 2 Posts: 744 ✭✭✭goose06




  • Registered Users, Registered Users 2 Posts: 200 ✭✭druidhill


    That solution seems a little outdated, and I'd imagine PowerShell would be the way to do that now. Unfortunately, spelling it is about as much as I know on the matter.


  • Registered Users, Registered Users 2 Posts: 8,813 ✭✭✭BaconZombie


    This is what I've used in the past, the ouput is a bit dirty but it works

    GL.BAT
    [COLOR="Lime"]
    
    @ECHO OFF
    
    :WTF
    
    DSQUERY  group -name "%1" | DSGET group -members -expand >> %1.txt
    
    :END
    
    [/COLOR]
    
    

    Usage.
    [COLOR="Lime"]X:\>GL ID10t_Users[/COLOR]
    
    
    
    
    
    
    


    Edit:

    I have a longer version that appends the current date and time to the file name and cleans put the output so I can import it into a nice Manager/Audit friend report but don't have access to it at the moment.


  • Registered Users, Registered Users 2 Posts: 314 ✭✭Alzar


    I've used this tool quite a bit. It lists all AD security groups & exports the members of selected group(s) to a csv if required.

    http://ctxadmtools.musumeci.com.ar/ADGroupMembers/ADGroupMembers11.html

    HTH!

    Al.


Advertisement