You can use View PowerCLI cmdlets to manage remote sessions.

Table 1. Examples of Common Remote Session Management Tasks
Task Example View PowerCLI cmdlet Syntax
List all active remote sessions for a specific domain user Get-RemoteSession -username mydom\fred
Disconnect all active sessions for a specific domain user Get-RemoteSession -username mydom\fred | Send-SessionDisconnect
Log off all active remote sessions for a specific domain user Get-RemoteSession -username mydom\fred | Send-SessionLogoff
Log off all active remote sessions that use the RDP display protocol Get-RemoteSession -protocol RDP | Send-SessionLogoff