Print or export the member list of an AD group

Discussion in 'Active Directory' started by DJSwing, May 24, 2004.

  1. DJSwing

    DJSwing Guest

    I want to export or print the members of the "Remote
    Users" group in Active Directory, and so far the way to
    do so has escaped me. Anybody know how?
     
    DJSwing, May 24, 2004
    #1
    1. Advertisements

  2. Dump the members to a text file and print it. For example:
    1) dsget group "cn=Remote users,ou=MyOU,dc=sample,dc=com" -members >>
    Members.txt
    2) net group "Remote users" /domain >> Members.txt
    3) Showmbrs.exe from Win2K ResKit
    4) VBScript though not needed in this simple scenario.

    HTH
    --
    Cheers,
    Marin Marinov
    MCT, MCSE 2003/2000/NT4.0,
    MCSE:Security 2003/2000, MCP+I
    -
    This posting is provided "AS IS" with no warranties, and confers no
    rights.
     
    Marin Marinov, May 24, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.