How to Configure Aruba VIA to execute Batch or VB Script post-logon or post-logoff ?
VIA can be configured to run scripts on the client computer, post-logon or post-logoff. A typical use cases is like launching an application after VIA successfully established a secure connection.
Environment: This article applies to Aruba Mobility Controllers running ArubaOS version 188.8.131.52 and below.
These are configured in the VIA connection profile. Supply a path to a local script in either of the two fields.
VIA Logon Script
Specify the name of the logon script that must be executed after VIA establishes a secure connection. The logon script must reside in the client computer.
VIA Logoff Script
Specify the name of the log-off script that must be executed after the VIA connection is disconnected. The logoff script must reside in the client computer.
VIA uses the standard process creation method to launch whatever is configured as a logon/logoff script. You can directly call .exe or .bat files.
Visual Basic Scripts :
To launch a VB script, you would want to provide the login script string that includes the VBS launcher such as CScript.exe or WScript.exe. Example: “cmd.exe /C "START /WAIT CScript loginscript.vbs //NoLogo"