The Send-SessionLogoff command disconnects users based on the Horizon session ID. The Send-SessionLogoff command uses the same format as the Send-SessionDisconnect command. The following example command will log off the session belonging to the AD user vjason.localcharles:
Send-SessionLogoff -Session_id (Get-RemoteSession -Username “vjason.localcharles”).session_id