Sunday, October 19, 2003 3:46 AM
It sometimes happens that (1) your server has a limit on the number of terminal sessions (2) there is something immediate which you need to do after a TS (3) You TS to this server only to find that the server has exceeded the connection limits due to orphaned sessions :(
Next step you want to go shouting at everyone of those ppl who are responsible for those orphaned sessions (I seriously would not like to do that)
This was getting on to my nerves for a while. Today I decided that I rather have this issue fixed. So I fired my browser and after googlying for a while I came across TSECMD which is a command line utility which allows you to enumerate sessions log them out or disconnect them and so on...
Win32Scripting super site
One of my other responsibilities other than being a developer is that of a builder (Long live NAnt, Orca) hence I do quite a bit of cmd scripting myself though not a pro but I saw these excellent set of scripts in various scripting languages that I had my mouth open for a minute.