RE: Get Computername for a Specific User




NET SESSIONS in a cmd prompt on the master server will give this info. You
should be able to redirect this output to a file ( >file.txt) and parse it
witha simple program to get what you want.

"Dennis" wrote:

How can I determine the specific Computername that a User is logged on to,
given only the Username/ID account? I know several ways to easily determine
who the Username/ID is logged on to any given computer, but can't figure out
the other way around. I need to determine which Computername (among
hundreds) that User Jane Smith is logged in to. This capability does not
appear possible on a Microsoft AD Network via MMC, command line methods, nor
the other WinXP OS system tools. I would prefer to incorporate a command
line method into a batchfile script; a Visual Basic script or PowerShell
script would also fit my needs; or a third-party (executable) utility. I
don't want to run an 'install' onto all the hundreds of computers, although
copying a single file to the computers and then executing it remotely is
okay. I want the resulting User's Computername to be written to a simple
text file on a network path or onto my PC, and optionally displayed on my
screen. All scripts/methods are welcomed. Thanks in advance for help.
Microsoft should add this network administration/management capability to
the MS Network and/or PC OS system tools.

.



Relevant Pages

  • Any way to get the date/time stamp from computer running the script?
    ... I am a network administrator in a fairly large software company and I ... time stamp of each computer executing the script. ... Is there any function or command in php, which lets me grab a current ...
    (php.general)
  • Re: Script for client DOS connecting to a SBS 2003 Server
    ... > I have done what you told me so but still not executing the script ... This looks like a TCP/IP network boot disk. ... Your script is referencing a:\. ... DOS client first for it to 'know' the network before it can even get to the ...
    (microsoft.public.windows.server.networking)
  • Re: WMI Connection Hangs
    ... >> network. ... I am testing for a successful connection and if so, ... >> executing a series of query subroutines. ... >> e script will hang. ...
    (microsoft.public.scripting.wsh)
  • NET SEND
    ... Does anyone know of a simple VB Script for using Net Send on a Windows XP network. ... I would like to be able to Net Send either a UserName, IPAddress or ComputerName via an Input Box. ...
    (microsoft.public.scripting.vbscript)
  • Re: ntp woes (and more-general questions about startup and logging)
    ... the script didn't run the "stop" ... Our 10.4 machines are 10.4.7. ... been thinking that the underlying network, ... deny) what traffic (IP + port) goes to what port. ...
    (comp.sys.mac.system)