Jump to content
Welcome to our new Citrix community!
  • 0

Disconnected sessions which were not visible in Citrix Studio, Citrix Director and cannot be found via Powershell


Ziegler Bernd

Question

Citrix VDA: 7.15.1000.150

Citrix DDC: 7.15.3000.350

 

Hello, we have sometimes disconnected sessions which were not visible in Citrix Studio and the users are not able to reconnect to this sessions. Is this a known issue? And does someone know how this problem occurs? And we need a way to detect such session, best via power shell

 

best regards

 

Bernd

Link to comment

5 answers to this question

Recommended Posts

  • 0

Or if you know  the username try this with list of server name

 

 

$file = "C:\Source\servers.txt"
$servers = Get-Content -Path $file

 

$ToFind = Read-Host -Prompt 'Enter User Name'
$ToFind = " " + $ToFind

foreach($server in $servers)
{
    $serverData = query user /server:$server
    foreach($login in $serverData)
    {
        if($login.StartsWith($ToFind,"CurrentCultureIgnoreCase") ) 
        {
            write-host $server
            write-host $login
        
        }
    }
}

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...