Use TACACS+ for admin access to your networking devices. That's the tool for the job. However, those brand of firewalls may not support it. I did find a RADIUS setup guide. https://support.sonicwall.com/kb/sw6958
Other than using that, just create a batch script (windows):
http://www.howtogeek.com/263177/how-to-write-a-batch-script-on-windows/
Do you know how to use the Command Prompt? If you do, you can write a
batch file. In its simplest form, a batch file (or batch script) is a
list of several commands that are executed when you double-click the
file. Batch files go all the way back to DOS, but still work on modern
versions of Windows.
PowerShell scripts and Bash scripts may be more powerful, but batch
files can still be plenty useful if you need to run basic Windows
commands.