Remote Desktop Gateway (formerly TS Gateway) ISA configuration script helps ease the process of setting up an ISA server for RD Gateway supported scenarios such as RD Gateway-ISA core scenario and RD Gateway-ISA OTP scenario. Script runs on ISA server and completely eliminates the need to configure ISA server through wizards. Instead, users can create web listeners and web publishing rules through command line. Additionally, script can validate existing web publishing rules and web listeners. In the event that issues’re discovered with them, script provides a list of warnings and errors to user. The script’s supported on ISA server 2004 and later versions. It can be used to publish Windows Server 2008 and higher versions of RD Gateway. This script, along with information on its usage, can be found here.