devblackops / NetScaler

PowerShell module for interacting with Citrix NetScaler via the Nitro API
Apache License 2.0
69 stars 32 forks source link

Update Disable-NSLBServer to have a Delay option #98

Open daimhin opened 5 years ago

daimhin commented 5 years ago

The Disable-NSLBServer should have an option to delay a server without doing a graceful shutdown.

Expected Behavior

Add an option to the cmdlet to enter a delay for shutdown without using the graceful option. This is part of the Nitro API, just wasn't implemented in the current version of this cmdlet.

Current Behavior

There is only a -Graceful option for the cmdlet, no option to disable without graceful.

Possible Solution

Add code to the cmdlet to handle the -Delay option.