All Projects → lazywinadmin → LazyTS

lazywinadmin / LazyTS

Licence: MIT license
PowerShell Script (GUI) to manage Terminal Sessions

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to LazyTS

Create-EXEFromPS1
Takes one PowerShell script and any number of supplementary files or even a directory and creates an exe using Windows's built in iexpress program. The exe will run on any machine with PowerShell 2.0+.
Stars: ✭ 81 (-4.71%)
Mutual labels:  ps1, powershell-script
winallenum
This powershell script has got to run in remote hacked windows host, even for pivoting
Stars: ✭ 13 (-84.71%)
Mutual labels:  ps1, powershell-script
RedTeam
One line PS scripts that may come handy during your network assesment
Stars: ✭ 56 (-34.12%)
Mutual labels:  ps1, powershell-script
channel9
Channel9 PowerShell scripts to download Powerpoint Slides and videos
Stars: ✭ 19 (-77.65%)
Mutual labels:  powershell-script
Surviving-WinForms
WinForms ain't going away anytime soon. A lot of us have to deal with it. Let's make the most of it, shall we? 😎
Stars: ✭ 36 (-57.65%)
Mutual labels:  winforms
WinForms-KWAssistant
百度搜索关键词,刷点击
Stars: ✭ 16 (-81.18%)
Mutual labels:  winforms
Krypton-Toolkit-Suite-NET-Core
A update to Component factory's krypton toolkit to support .NET Framework 3.5 to .NET Core
Stars: ✭ 27 (-68.24%)
Mutual labels:  winforms
PowerPlatformCICD
A Template and Provisioning process to create a fully automated Build and Deploy Project for the Microsoft Power Platform
Stars: ✭ 31 (-63.53%)
Mutual labels:  powershell-script
SCCM-Zone
My ♡ collection of PowerShell scripts and SCCM related stuff :)
Stars: ✭ 73 (-14.12%)
Mutual labels:  powershell-script
TheLastTime
C# .NET 5 Blazor WebAssembly Progressive Web Application that tracks when was the last time you did something
Stars: ✭ 23 (-72.94%)
Mutual labels:  winforms
dot-net-transitions
A library for animated UI transitions for .NET
Stars: ✭ 85 (+0%)
Mutual labels:  winforms
CloudXNS-DDNS-with-PowerShell
The CloudXNS DDNS with PowerShell
Stars: ✭ 46 (-45.88%)
Mutual labels:  powershell-script
O365 SPO PowerShellScripts
PowerShell scripts related to SharePoint Online in Microsoft 365
Stars: ✭ 22 (-74.12%)
Mutual labels:  powershell-script
tunman
Comprehensive solution for SSH tunnels - respawning, healthchecking/monitoring
Stars: ✭ 43 (-49.41%)
Mutual labels:  remote-machine
topmostfriend
Utility for making windows always be on top, forcefully.
Stars: ✭ 6 (-92.94%)
Mutual labels:  winforms
ganttchart
The Winforms Gantt Chart is the .NET Winforms control originally hosted on CodePlex (http://ganttchart.codeplex.com)
Stars: ✭ 150 (+76.47%)
Mutual labels:  winforms
Microsoft365
Manage Microsoft 365 with PowerShell
Stars: ✭ 30 (-64.71%)
Mutual labels:  powershell-script
GChan
Scrape boards and threads from 4chan (8kun WIP). Downloads images, videos and HTML if desired.
Stars: ✭ 31 (-63.53%)
Mutual labels:  winforms
pctation
PlayStation emulator & debugger in C++17
Stars: ✭ 103 (+21.18%)
Mutual labels:  ps1
TrialMaker.Demo
A powerful yet straight-forward library suite that provides secure trial license generation and copy-protection features for .NET applications. It also supports premium license generation for expired free-trials.
Stars: ✭ 21 (-75.29%)
Mutual labels:  winforms

LazyTS

LazyTS is a PowerShell script to manage Sessions and Processes on local or remote machines. It allows you to Query/Disconnect/Stop session(s), Query/Stop process(es) and Send Interactive message to one or more sessions.

This tool is using the module PSTerminalService which relies on the Cassia .NET Library.I used Sapien PowerShell Studio 2014 to which make life easier if you want to start building WinForms tools and add PowerShell code.

alt text

Requirements

  • PowerShell 3.0
  • Cassia Library (included in the download)

LazyTS is relying on the Cassia .NET Library (A DLL file). This file need to be present in the same directory as the script (Either when you use the PS1 or EXE file)

Of course you also need the appropriate permission on the remote machine to be able to manage it. If the Cassia.dll is not present, the script won't start:

Alt text

Installation

Usage

  • Launch a PowerShell console with the account that will perform the action
  • Execute the powershell script LazyTS.ps1

Alt text

Main features

Querying session on local or remote machines

After entering the ComputerName, click on the button Sessions

Alt text

Disconnecting Session(s)

Select one session or multiple sessions and right click, click on Disconnect Session This will only disconnect the user, its session State will become "disconnected", but will remain opened on the host.

Alt text

When getting disconnected, the user will get the following window

Alt text Your Remote Desktop Services session had ended. Your network administrator might have ended the connection. Try connection again, or contact technical support for assistance

Stopping a Session(s)

Select one session or multiple sessions and right click, click on Stop Session This will close the session of the user without warning. Any current work in progress will be lost.

Alt text

Here is the confirmation window after you select "Stop Session" Alt text

Querying Processes

After entering the ComputerName, click on the button Process. This will list all the running processes (for all sessions) Alt text

Stopping Process(es)

Select one process or multiple processes and right click, click on Stop Process This will Stop the process(es) selected.

Alt text

Alt text

Sending Message(s)

After entering the ComputerName, click on the button Message. Note that you must select one session or one process in order to use this option (the script need to know which session(s) it should send the message to.

This will Send a message to the selected session. If multiple sessions are selected only one message will be sent to each session.

Alt text

Confirmation windows:

Alt text

Default message: "IMPORTANT: The Server is going down for maintenance in 10 minutes. Please save your work and logoff."

Message to send

Alt text

Example of message received by each session selected

Alt text

Remote Desktop: Shadow (since v1.1)

When right clicking on a row you'll have the possibility to open a Shadow RDP on a selected Session ID. After you request to View or Control the session, the user will get this message

Alt text "<samaccountname> is requesting to control your session remotely. Do you accept the request" Message showed to the user when trying to control his session id.

If the user deny the request, you'll get the following message

Alt text "The operator or administrator has refused the request"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].