Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
There is a DOS command function how is working on a Terminalserver[QUERY SERVER or QUERY TERMSERVER....] but I would like to get this information directly from the system like the Terminal server Extender is working. Unfortunately the TS Extender doesn't contain the type of function.
#DEFINEFUNCTION ListTSServers(DomainName) AddExtender('WWWNT34I.DLL') ErrorMode(@OFF) ServerList = wntServerList('',DomainName,33554432) RC = LastError() ErrorMode(@CANCEL) if (RC != 0) TempMsg = StrCat('wntServerList("","',DomainName,'",33554432) RC = ',RC) TempMsg = StrCat(TempMsg,@CRLF,@CRLF,'Error! Unable to obtain a list of terminal server systems.') Message('ListTSServers()',TempMsg) return '' endif return ServerList #ENDFUNCTION
Article ID: W16045
File Created: 2004:03:30:15:42:30
Last Updated: 2004:03:30:15:42:30