This message was deleted.
# _general
s
This message was deleted.
m
$HdxWmi = $(Get-WmiObject -NameSpace "root\citrix\hdx" -Query "Select * from Citrix_Sessions where StationName = '$($Env:SessionName)'" -ErrorAction SilentlyContinue)
? There should be some interesting properties (e.g. ClientName or ClientIP)
j
WMI filter........could be doable
d
To find the Citrix session take a look in my BGInfo script 😉. If you have the session ID the rest should be easy.
# Citrix SessionID
$CitrixSessionID = Get-ChildItem -Path "HKCU:\Volatile Environment" -Name
# Citrix Clientname
$CitrixClientName = Get-WmiObject -Namespace root\citrix\hdx -Class Citrix_Client_Enum | Where-Object {$_.SessionID -eq $CitrixSessionID} | Select-Object -ExpandProperty Name
n
What data in there would point to a thin client, though?
Nevermind, I misunderstood. I thought he was looking for a way outside of using the clientname.,
m
you could create a delivery group just for thin clients if they have a naming standard. I did that for our wyse terminals to force them all to go to an image with 32bit apps to get hdx webcam working.
doesn’t help if you want to use the same image, so not really answering your question
j
Ah, good point Dennis, I forgot the sessionID was actually in HKCU not just HKLM
n
Do you get endpoint name in UEM? It can do ADMX GPO.