Bit-101 Posted February 23, 2022 Share Posted February 23, 2022 I Googled a lot but cant find anything how to log off a bunch of users from a certain application. Really appreciate if someone has some tips or answer Link to comment
0 Pavan nannapaneni1709152483 Posted February 28, 2022 Share Posted February 28, 2022 https://developer-docs.citrix.com/projects/citrix-virtual-apps-desktops-sdk/en/latest/Broker/Stop-BrokerSession/ Have you tried Stop-BrokerSession. Link to comment
0 Björn Schläfli Posted March 21, 2022 Share Posted March 21, 2022 Hi Bit10101, it's tricky as far as I know. You are able to use Citrix Director -> Filter -> All application instances -> BUT you can logoff these users only. I wrote a powershell script which reads the open processes on a server. I select the desired one and the script then terminates the processes found on each server. Quick example of a script, which can be run from a management machine: $XAServerList = Get-BrokerMachine -MaxRecordCount 200 | Sort-Object DNSName | Select-Object -ExpandProperty DNSName $ProcessName = Read-Host -Prompt "Enter process name" foreach ($Server in $XAServerList) { $ScriptToRunRemote = {param($ProcessName); Get-Process -Name $ProcessName -ErrorAction SilentlyContinue | Stop-Process -Force -PassThru} Invoke-Command -ComputerName $Server -ScriptBlock $ScriptToRunRemote -ArgumentList $ProcessName } Long time ago I've told this feature need on a Citrix event to someone but never got a response from this person. Link to comment
Question
Bit-101
I Googled a lot but cant find anything how to log off a bunch of users from a certain application.
Really appreciate if someone has some tips or answer
Link to comment
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now