wlan-reconnect.ps is a PowerShell script that uses the cmdlet text-connection to regularly check the WLAN connection and tries to reconnect with netsh wlan if it is gone.
This script was somewhat useful when I had to work in a room with a shaky WLAN.
If executed without parameter, it tries to connect to the SID named oooOOOooo. If executed with a parameter, the parameter is expected to be the name of the SID that the scripts should connect to:
wlan-reconnect OfficeX
The -speak flag can be specifed so that the script uses the Microsoft Speech Object Library to notify a change in the connection status: