[EMAIL PROTECTED] wrote:
Hi,
1st of all, thank you to everyone, you guys all have some nice ideas on how to
manage this. However, since i'm only managing a network of a small department
(about 500 users), I don't think that the managers would pay a programmer to
write code only for this. So basically, I'm looking for some tool that would to
this without having to write a lot of code.
The showmbrs solution in a script, that Stephen Hefner suggested, seems to be
the best for me (it's easy as it could get, and does what I'm looking for
without having to work a lot on the solution). However, like I said, this
command only gives the usernames in its output.
So I wonder, is there any similar command (i.e. command to which you give a
group name in input and that gives the Full Name (Full Name on a NT Domain) in
its output? Or is there some way to handle this that would be easier in Active
Directory?
---------------------------------------------------------------------------
---------------------------------------------------------------------------
You can use the following command
dsquery user -samid <username> -o rdn
This will print out the name of the person.
Of course you will need to use a for each .. do .. statement in your script.
Raoul
--
Raoul Armfield
rarmfield at amnh dot org
---------------------------------------------------------------------------
---------------------------------------------------------------------------