As noted previously, the ability to create your own script is what makes creating custom templates so powerful. The Drive Mapping application uses this ability to run a NET USE
command, which maps a network drive over a TCP/IP tunnel using the RPC/SMB protocols. You can create a similar template that runs any command you want. In fact, you may want to use this to simply manipulate some of the client's configurations without even needing the tunnel at all.
Essentially, you can put any CMD-Shell commands within the CDATA section. They will be running in a visible shell window, so it may be good practice to use the echo off
statement and the @
symbol to conceal the commands and their outputs from the end user.
What if you want to do something even more powerful? The SSL-VPN tunnel can also run a .VBS
file, although that involves a slightly trickier approach. The engine cannot run a VBS file directly, but you can use the CMD-Shell echo
command to generate...