Skip to content

Windows PowerShell module based off the PSTerminalServices module which gets information about logon sessions.

License

Notifications You must be signed in to change notification settings

pdxcat/LogonSession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LogonSession PowerShell Module

This module allows you to get information about Remote Desktop and Console logon sessions on Windows machines, and to enable you to disconnect users from them and/or log them off.

Requirements

Usage

Import-Module LogonSession
Get-LogonSession -ComputerName [comp]

Returns a collection of PowerShell objects which are a slightly modified version of the types that you get from the PSTerminalServices module's Get-TSSession function. You can then look at information about them, or call the Disconnect() or Logoff()/Logout() functions to forcibly disconnect or log off the user.

About

Windows PowerShell module based off the PSTerminalServices module which gets information about logon sessions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published