Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- @REM **************************************************************************
- @REM * ingroup.bat *
- @REM * *
- @REM * Displays a list of users who are members of a group including nested *
- @REM * members (users who are members of groups that are members of the *
- @REM * group specified at the command line). *
- @REM * *
- @REM * Usage : ingroup <groupname> *
- @REM * *
- @REM * Author : Brian Reich <breich@reich-consulting.net> *
- @REM **************************************************************************
- dsquery group -name %1 | dsget group -members -expand | dsget user -samid
Add Comment
Please, Sign In to add comment