AarnMsn
asked on
Retrieve Client Name from session XenApp 6.5. Win 2008 R2
When logging in to a XenApp session, the CLIENTNAME ENV variable is no longer available in a XENApp 6.5/2008 session. Trying to find a way to retrieve this information as a currently loggin in user for audit/tracking perspective. Is there a way to retrive this during a user's log in with Powershell
Powershell you need to dig into the get-xasession
One of the parameters it outputs is:
ClientName: xxxxxx
One of the parameters it outputs is:
ClientName: xxxxxx
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Yeah that is what I thought. Ironically was looking at this today and the variable has returned, strange as it sounds. Thanks for the input.
A VBScript example is here:
http://rcmtech.wordpress.com/2011/06/09/how-to-get-clientname-within-logon-script-on-server-2008-r2-xenapp-6/