I ended up downloading AutoITv3 to get this done because I don't think a normal batch file could do what I wanted. I created a folder and called it Reboot_Wireless. In that file I have a batch program and AU3 script file.
The batch file gets called on by the script and looks like this
rem Open Tunnel
start C:\Users\Seant\plink.exe -ssh
[email protected] -pw yourpassword
I named the batch example.bat
The script I wrote looks like this.
#RequireAdmin
Run (@ScriptDir & '\example.bat')
Sleep (20000)
Send("en{ENTER}")
sleep(3000)
Send("reload{ENTER}")
Sleep(3000)
Send("y{ENTER}")
Sleep(3000)
Send("y{ENTER}")
Sleep(300)
I named this rebootexample.au3
From here I set task scheduler to reboot my controllers once a week by launching rebootexample.au3
I hope this helps anyone that wishes to use a script to reboot their controllers or maybe do something else.