F5 iControl script for GTM

iControl is an inbuilt API to F5 devices which can be used to view and make configuration changes. Most of the documentation is for LTMs (Local Traffic Manager) but the PowerShell script below will use iControl on a GTM (Gloabl Traffic Manager) to loop through all pool members and see if any are disabled, if any are disabled it will send an email stating which members are disabled. To run this script you must first have the iControl PowerShell Script Snapin installed.