Get-RASRDSession
Last updated
Last updated
Get-RASRDSession
Retrieves information about one or multiple RD Sessions.
Get-RASRDSession -** (uint) - {RDS | VDI | AVD | All} [ (uint)] [ (string)] [ (string)] [ (uint)] [- {Active | Connected | ConnectQuery | Shadow | Disconnected | Idle | Listen | Reset | Down | Init | All}] [ (uint)] [ (string)] [()]
Get-RASRDSession -** (string) - {RDS | VDI | AVD | All} [ (uint)] [ (string)] [ (string)] [ (uint)] [- {Active | Connected | ConnectQuery | Shadow | Disconnected | Idle | Listen | Reset | Down | Init | All}] [ (uint)] [ (string)] [()]
Get-RASRDSession [** (uint)] [ (string)] [ (string)] [ (uint)] [- {RDS | VDI | AVD | All}] [- {Active | Connected | ConnectQuery | Shadow | Disconnected | Idle | Listen | Reset | Down | Init | All}] [ (uint)] [ (string)] [()]
Retrieves the information about one or multiple RD Sessions, from different sources such as RDS, VDI, and AVD.
Site ID from which to retrieve the Remote Desktop Session information (optional).
Source from which to retrieve the Remote Desktop Session information.
Possible values: RDS, VDI, AVD, All
The Host ID of the server for which to retrieve the information (optional).
The name of the server to filter the Remote Desktop Session information (optional).
The name of the host to filter the AVD/VDI Remote Desktop Session information (optional).
State to filter the Remote Desktop Session information (optional).
Possible values: Active, Connected, ConnectQuery, Shadow, Disconnected, Idle, Listen, Reset, Down, Init, All
User to filter the Remote Desktop Session information (optional).
IP Address to filter the Remote Desktop Session information (optional).
The Theme ID for which to retrieve the information (optional).
The RDS Group ID for which to retrieve the information (optional).
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Get-RASRDSession
Retrieves a list of RD Sessions. **---------- EXAMPLE 2 ----------
Get-RASRDSession -Source RDS
Retrieves a list of RDS Sessions. **---------- EXAMPLE 3 ----------
Get-RASRDSession -Source RDS -Server "MyServer"
Retrieves a list of RDS Sessions pertaining to the specified server. **---------- EXAMPLE 4 ----------
Get-RASRDSession -Source VDI -SiteId 1
Retrieves a list of VDI Sessions for SiteId 1. **---------- EXAMPLE 5 ----------
Get-RASRDSession -Source AVD -ServerId 1
Retrieves the AVD Session for ServerId 1. **---------- EXAMPLE 6 ----------
Get-RASRDSession -User "Administrator" -IP "1.1.1.1" -State Idle
Retrieves the Sessions with specified Username, IP and State.