Get computer name from terminal server

Need a bit more info, get it how? There is no real name when you use terminal server.

You can start a command line windows and type in %computername%, it will tell you 'blah pc name" is not recognized as a command. Or can right-click on My Computer, should show you the name of the session there.