Monitoring the remote Horizon View sessions
The
Get-RemoteSession
command is used to obtain information about any current Horizon View client sessions. The command supports several options that can be used to return only those sessions that match the specified criteria.
How to do it…
The following example command retrieves all the remote Horizon View client sessions for the FinanceLC1
desktop pool:
Get-RemoteSession -Pool_id FinanceLC1
How it works…
The Get-RemoteSession
command supports multiple options for listing client connections. Only one option is required in order to retrieve session information. The options include the following:
The
Username
option: The username is in theFullDomainName\username
format, for example,vjason.local\elensherr
The
Pool_id
option: This is the desktop pool ID, for example,FinanceLC1
The
Session_id
option: This is the Horizon View client session IDThe
Duration
option: This is the duration in the format "dd day(s) hh hour(s) mm minute(s) ss second(s)", for...