Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
strServer = "?????.?????.co.nz" Set objWMI = GetObject("winmgmts://" & strServer & "/rootcimv2") Set objInstances = objWMI.InstancesOf("Win32_ServerSession",48) For Each objInstance in objInstances With objInstance WScript.Echo .UserName & " ; " & .ComputerName & " ; " & .ClientType &_ .Name & " ; " & Round(.ActiveTime/60,0) & " minutes connected" End With Next Set objInstances = Nothing Set objWMI = Nothing
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.