wtk said:
Herb,
thanks.
I have tough time to get username and computer name together. I can get
them seperately easy. do you have any scripts in mind can do both?
If you mean you want a list of Users with "their computer"
names then in some sense that doesn't even exist.
Such is merely a HUMAN concept, not enforce nor
maintained by AD in any significant sense.
A user can be logged on from multiple machines at the
same time, not logged on at all, or can logon to different
machines on subsequent days etc....
Tim (elsewhere this thread) has some ideas.
You might find that you are actually even better off looking
in WINS Server for such information IF you run NetBIOS
and WINS Server (as is likely if you have a significant number
of users) AND you use the Messenger service which many
people are disabling.
Looking in WINS can show all "registered names" and with
a bit of parsing User names, Computers names, and associated
IPs might be extracted.
You probably should state your EXACT GOAL explicitly,
and not what you think you want to do to accomplish that.
There are a LOT of smart people that know ways to get to
information and things that might not be obvious if you
state you final goal first.