This is the built-in help made by Microsoft for the command 'Get-RDUserSession', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets a list of all user sessions in a collection or in a Remote Desktop deployment.
Get-RDUserSession [[-CollectionName] <String[]>] [[-ConnectionBroker] <String>] [<CommonParameters>]
The Get-RDUserSession cmdlet gets a list of all user sessions in a collection or in a Remote Desktop deployment.
<
<
Example 1: Retrieve a list of user sessions in a collection
PS C:\> Get-RDUserSession -ConnectionBroker "rdcb.contoso.com"
This command lists user sessions in a collection that is associated with the RD Connection Broker server named rdcb.contoso.com.
Example 2: Retrieve a list of user sessions in multiple collections
PS C:\> Get-RDUserSession -ConnectionBroker "rdcb.contoso.com" -CollectionName @("Session Collection","Virtual Desktop Collection")
This command lists user sessions in the collections named Session Collection and Virtual Desktop Collection. The cmdlet associates these
collections with the RD Connection Broker server named rdcb.contoso.com.