Got a quick question for anyone with knowedge of WMI with the .net framework.
How can you query a server running on terminal services to get the client machine names for a current logged in user. I can retrieve a list of users using SELECT * FROM Win32_ServerSessions, but the computer name just returns a default ip address.
The information I want is definately available, as if you view the Users tab for the Task Manager, the client name is definately there!!!!
Any ideas? fairly urgent this!!!!
How can you query a server running on terminal services to get the client machine names for a current logged in user. I can retrieve a list of users using SELECT * FROM Win32_ServerSessions, but the computer name just returns a default ip address.
The information I want is definately available, as if you view the Users tab for the Task Manager, the client name is definately there!!!!
Any ideas? fairly urgent this!!!!
Comment