Script to list users who Are connected
Hello , i have a Windows Server 2003 in my Office network , I need a script that lists the user that are connected in network , can you tell me where can i get the Script that can list all user connect in my network , please help me thanks in advance
Re: Script to list users who Are connected
NET SESSION command can specify the users who are connected to
server where you are connection . this Command Should be Run from the command Prompt, hope it will help you
Re: Script to list users who Are connected
Quote:
Set objSysInfo = CreateObject("ADSystemInfo")
Set objUser = GetObject("LDAP://" & objSysInfo.UserName)
Set objComputer = GetObject("LDAP://" & objSysInfo.ComputerName)
strMessage = objUser.CN & " logged on to " & objComputer.CN & " " & Now & "."
objUser.Description = strMessage
objUser.SetInfo
objComputer.Description = strMessage
objComputer.SetInfo
Full information you can Get at his link
Re: Script to list users who Are connected
maybe i think the netsession will only be able to do the job , this command Manages server computer connections. Used without parameters, net session displays information about all sessions with the local computer.