How yossisassi/get-usersession works
Get-UserSession is an agentless PowerShell utility for finding a user's interactive or RDP sessions across domain computers. The README documents selecting enabled domain computers by default or specifying computers, then querying sessions with quser.exe over SMB port 445. The repository contains only the script and README, with no source excerpts, so the relationships shown are limited to those documented.
Main entry points: Get-UserSession.ps1 Session Query Script
Components 5
Other components
- Operator
- Session Query Script
Get-UserSession.ps1 - Domain Computers
- Endpoint quser.exe
- Session Results
Connections 5
- Operator → Session Query Script: runs with targets
README.md - Session Query Script → Domain Computers: selects enabled computers
README.md - Session Query Script → Endpoint quser.exe: queries over port 445
README.md - Endpoint quser.exe → Session Results: reports sessions
README.md - Session Results → Operator: shows results
README.md