Problem this snippet solves: This PowerShell application will get and set the infamous three-way-toggle state (enabled, disabled, offline) for server objects.
The application will work on both No...
This script works perfectly fine for me but also wanted to check if this script can also provide the the state of the nodes in the pool ?
Also if possible could you provide me with the best practices for automating this script during maintenance windows, such as scheduling the script to run and disable the node before one hour of the maintenance on the node.
Thanks,