View Full Version : How to extract the existing user and group information


NewUser
09-07-2006, 04:11 AM
Hello:

Is it possible to extract the Group and user list by local executing
the script or batch. I need to keep this user list that belong to which
group.

Thanks!

Michael Bednarek
09-07-2006, 06:54 AM
On Thu, 07 Sep 2006 11:11:52 +0800, NewUser wrote in
microsoft.public.win2000.cmdprompt.admin:

> Is it possible to extract the Group and user list by local executing
>the script or batch. I need to keep this user list that belong to which
>group.

I'm not quite sure I understand what exactly you want, but these command
might get you started:
NET USER joeblogg /DOMAIN
NET GROUP somegroup /DOMAIN

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

NewUser
09-07-2006, 08:54 AM
Hello:

It need to identify the group before getting the list. Does I can use
the script that I didn't need to cater the existing group and it can
extract the user with all the group?

Thanks!

Michael Bednarek wrote:
> On Thu, 07 Sep 2006 11:11:52 +0800, NewUser wrote in
> microsoft.public.win2000.cmdprompt.admin:
>
>> Is it possible to extract the Group and user list by local executing
>> the script or batch. I need to keep this user list that belong to which
>> group.
>
> I'm not quite sure I understand what exactly you want, but these command
> might get you started:
> NET USER joeblogg /DOMAIN
> NET GROUP somegroup /DOMAIN
>

Michael Bednarek
09-07-2006, 01:47 PM
On Thu, 07 Sep 2006 15:54:04 +0800, NewUser wrote in
microsoft.public.win2000.cmdprompt.admin:

> It need to identify the group before getting the list. Does I can use
>the script that I didn't need to cater the existing group and it can
>extract the user with all the group?

Have you tried the commands? Don't they provide the information you
need?

>Michael Bednarek wrote:
>> On Thu, 07 Sep 2006 11:11:52 +0800, NewUser wrote in
>> microsoft.public.win2000.cmdprompt.admin:
>>
>>> Is it possible to extract the Group and user list by local executing
>>> the script or batch. I need to keep this user list that belong to which
>>> group.
>>
>> I'm not quite sure I understand what exactly you want, but these command
>> might get you started:
>> NET USER joeblogg /DOMAIN
>> NET GROUP somegroup /DOMAIN

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

NewUser
09-08-2006, 04:33 AM
Hello:

I have try to command and it use useful. I would like to have the
example for how to extract the group with the user for the group that
belongs to. But I need to check with over 200 machines local group. So,
I would like to have the batch example for how to handle the group that
I didn't know it exist or not.

Thanks!