Tag Archives: query session

How to get ClientName within logon script on Server 2008 R2 XenApp 6

You couldĀ get the client name from the %CLIENTNAME% environment variable on a Server 2003 terminal server and get your logon script to do different things depending on its value. Using VBScript you could do oShell.ExpandEnvironmentStrings(“%CLIENTNAME%”). Try this on a Server … Continue reading

Rate this:

Posted in Scripting, Windows, XenApp | Tagged , , , , , , | 12 Comments