<< Back to Script Library

RDS Drain Sessions

Puts RDS hosts into maintenance mode using the chglogon command. The script will disable all new user connections to the server until it is rebooted (existing active connections are not affected).
Version: 1.0.5
Created: 2016-03-07
Modified: 2016-03-07
Creator: david.crook
Downloads: 235
Tags: maintenance rds
The Script Copy Script Copied to clipboard
chglogon /drainuntilrestart
@exit