Skip to content
Citrix Apps and Desktop - Session Module
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Cleanup in repo Sep 9, 2019
CitrixUserSession.psd1 Cleanup repo Sep 12, 2019
Get-CitrixUserSession.psm1 Fixed Identity ValueFromPipeline Sep 13, 2019
LICENSE Cleanup in repo Sep 9, 2019

Citrix User Session Module

Get all user sessions from Citrix Apps and Desktops all query just one user.

This module query either specific Cirix Session (user) or server and gets information about users sessions such as:

  • Username
  • Client IP
  • Session ID
  • Network Latency
  • Screen Resolution


PS C:\> Get-CitrixUserSession -identity dave

Finds Daves session and then query specific server to gather information about Daves session


PS C:> Get-CitrixUserSession -ComputerName XenApp01

Displays all users sessions


PS C:> Get-CitrixUserSession -ComputerName XenApp01 -RemovePSSession

Displays all users sessions information and removes PSSession
Note that switch -RemovePSSession, removes Powershell session. This is done by creating PSSession to an remote machine
which has Citrix PSSnapIn installed or module which is required to run this module. Then this session is created on
your local machine so using -RemovePSSession does remove Powershell session. You will be prompted if function cannot
find Citrix Module/PSSnapIn on your local machine.

Current version is: 1.4.1
You can’t perform that action at this time.