Re: Need help listing members of group (beyond ID)
- From: "Matt Williamson" <ih8spam@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 23:53:22 -0500
I can run "net group MyGroup /DOMAIN". The list returned are just
user IDs.
Then I can run "net user UserID /DOMAIN" to get more information (such
as their real name).
Is there a single VBscript or CommandLine tool that will get me more
extensive member information so I do not have to run the "Net User"
command for every ID reported in "Net Group"?
"WMIC Useraccount get name" will give you an easy to parse list that you
can pass to Net USER in a for loop.
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- Need help listing members of group (beyond ID)
- From: pnjtlxhzhgjb
- Need help listing members of group (beyond ID)
- Prev by Date: Need help listing members of group (beyond ID)
- Next by Date: How to know what errorlevels a console applikation sets
- Previous by thread: Need help listing members of group (beyond ID)
- Next by thread: How to know what errorlevels a console applikation sets
- Index(es):
Relevant Pages
|
Loading