Re: Need help listing members of group (beyond ID)




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

.



Relevant Pages

  • Need help listing members of group (beyond ID)
    ... I can run "net group MyGroup /DOMAIN". ... Then I can run "net user UserID /DOMAIN" to get more information (such ... Is there a single VBscript or CommandLine tool that will get me more ...
    (microsoft.public.win2000.cmdprompt.admin)
  • determine user Log off time?
    ... command - Net User UserID \domain - to see when the last login time ... Net User only seems to be ...
    (microsoft.public.windowsxp.general)

Loading