Skip to content

YossiSassi/Get-RemotePSSession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Gets real-time status & information about WS-Man connections/PS-Sessions (local, remote, windows powershell and pwsh), which user is connected, from which IP/host, how long and if idle, and much more.

Useful for mapping/hunting for PSRemoting sessions in an enterprise, among other use cases.

Information includes:

  • Owner (Domain\Username)
  • ClientIP
  • ClientHostname (Optional, as a parameter)
  • SessionTime
  • IdleTime
  • RemoteComputer
  • ConfigurationName
  • ProcessId
  • State
  • Port
  • UseSSL (Optional. defaults to false)
  • Name (SessionName)
  • ShellID
  • ConnectionURI

Sample results

About

Query PS Sessions/WS-Man for their connected users, IPs, hosts, session times and more, for local and remote sessions, both Windows PowerShell and pwsh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors