Link to home
Avatar of String :-)
String :-)Flag for Australia

asked on

Powershell - Netscaler integration - How to add servers into maint. mode

Hi All,

I have been tasked with creating a Powershell script that places IIS servers (IPs of Service Group Members) into Maint. mode on the Netscaler. (This is a pre-windows patching task).

Does anyone know how to do this?

I found the following module, however I cant see any notes about placing server IP addresses into maint. mode.

https://www.powershellgallery.com/packages/NetScaler/1.7.0

Many thanks for any tips
String
Sydney AUS
Avatar of Sam Jacobs
Sam Jacobs
Flag of United States of America image

Hi String,

There is no "maintenance mode" on the NetScaler.
You can either disable the servers or remove them from the service group.
Which of them are you are trying to do?

-Sam
Avatar of String :-)

ASKER

Hi Sam,
Thanks for the question. We need to disable the servers. Then re-enable them when Windows patching is complete.
Cheers
String
ASKER CERTIFIED SOLUTION
Avatar of Sam Jacobs
Sam Jacobs
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Sorry for the delay replying. Priorities got swung.

Got a chance to test this over the weekend.
Great works a treat.
Many thanks Sam
You are most welcome.