LISSTech.DrainCtl
26.93.5
Monitor and manage Remote Desktop Session Host drain mode (TSServerDrainMode). Reads the registry natively via a Go shared library, maintains a 90-day JSONL audit trail of state changes, and attributes changes to specific users via Windows Security Event Log (Event ID 4657). Ships drainctl.exe CLI for N-central automation and drainctl.dll for PowerShell cmdlet integra
Monitor and manage Remote Desktop Session Host drain mode (TSServerDrainMode). Reads the registry natively via a Go shared library, maintains a 90-day JSONL audit trail of state changes, and attributes changes to specific users via Windows Security Event Log (Event ID 4657). Ships drainctl.exe CLI for N-central automation and drainctl.dll for PowerShell cmdlet integration. Supports the DrainCtl Windows Service for continuous monitoring.
Show more
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 LISS Consulting, Corp. All rights reserved.
Package Details
Author(s)
- LISS Consulting Corp.
Tags
RDSH RemoteDesktop DrainMode TerminalServer NCentral Windows Monitoring
Functions
Get-RDSHDrainMode Test-RDSHDrainMode Get-RDSHDrainHistory Install-RDSHDrainAudit
PSEditions
Dependencies
This module has no dependencies.
Release Notes
v26.93.5: CalVer versioning, enhanced pipe output, service event log entries.
FileList
- LISSTech.DrainCtl.nuspec
- LISSTech.DrainCtl.psd1
- LISSTech.DrainCtl.psm1
- bin\drainctl.dll
- bin\drainctl.exe
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 26.95.0 | 6 | 4/5/2026 |
| 26.94.6 | 5 | 4/5/2026 |
| 26.94.5 | 9 | 4/4/2026 |
| 26.94.4 | 3 | 4/4/2026 |
| 26.94.3 | 3 | 4/4/2026 |
| 26.94.2 | 5 | 4/4/2026 |
| 26.94.1 | 5 | 4/4/2026 |
| 26.94.0 | 5 | 4/4/2026 |
| 26.93.13 | 5 | 4/4/2026 |
| 26.93.12 | 5 | 4/4/2026 |
| 26.93.11 | 4 | 4/4/2026 |
| 26.93.10 | 3 | 4/4/2026 |
| 26.93.9 | 5 | 4/3/2026 |
| 26.93.8 | 6 | 4/3/2026 |
| 26.93.7 | 3 | 4/3/2026 |
| 26.93.5 (current version) | 200 | 4/3/2026 |