Hi guys,

I need to enumerate all currently logged on users to a Terminal
server. I'm assuming WMI can be used for this. The reason being is
that we have an application that is cauing problems when two users
logging in with the same sAMAccount are using it.

The script will run locally on the terminal server. I can't seem to
find anything using the usual serach engines...

Can anyone point me in the right direction?

Many thanks,

-Chris