LISSTech.DrainCtl

26.95.0

Know the instant someone blocks new connections on your RDSH servers. DrainCtl monitors drain mode in real time, tracks who changed it, counts active sessions, and alerts you before capacity runs out. Includes a multi-server dashboard with Kerberos SSO, webhook and ntfy.sh notifications with granular triggers, and a 90-day audit trail. Works standalone or as a Windows
Know the instant someone blocks new connections on your RDSH servers. DrainCtl monitors drain mode in real time, tracks who changed it, counts active sessions, and alerts you before capacity runs out. Includes a multi-server dashboard with Kerberos SSO, webhook and ntfy.sh notifications with granular triggers, and a 90-day audit trail. Works standalone or as a Windows Service.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name LISSTech.DrainCtl

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name LISSTech.DrainCtl

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 LISS Consulting, Corp. All rights reserved.

Package Details

Author(s)

  • LISS Consulting Corp.

Tags

RDSH RemoteDesktop DrainMode TerminalServer RDS Sessions Windows Monitoring Dashboard Notifications

Functions

Get-RDSHDrainMode Test-RDSHDrainMode Get-RDSHDrainHistory Install-RDSHDrainAudit Get-RDSHDrainNotification Set-RDSHDrainNotification Get-RDSHDrainNotificationTarget Add-RDSHDrainNotificationTarget Remove-RDSHDrainNotificationTarget Test-RDSHDrainNotification Enable-RDSHDrainDashboard Disable-RDSHDrainDashboard Install-RDSHDrainCertificate

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

v27: JSON config (migrated from registry), multi-target webhook/ntfy notifications with granular triggers (drain_on, drain_off, alert, session_warning, etc.), WTS session tracking with utilization alerts, uPlot dashboard with session gauges, dark mode, EV code-signed.

FileList

Version History

Version Downloads Last updated
26.95.0 (current version) 4 4/5/2026
26.94.6 4 4/5/2026
26.94.5 8 4/4/2026
26.94.4 2 4/4/2026
26.94.3 2 4/4/2026
26.94.2 4 4/4/2026
26.94.1 4 4/4/2026
26.94.0 3 4/4/2026
26.93.13 4 4/4/2026
26.93.12 4 4/4/2026
26.93.11 3 4/4/2026
26.93.10 2 4/4/2026
26.93.9 4 4/3/2026
26.93.8 5 4/3/2026
26.93.7 2 4/3/2026
26.93.5 199 4/3/2026
Show more