Xshell Forum

Help script for session SSH in switch HP

Last post: Wednesday, January 18, 2017 12:12 AM by jelly, 1 reply

 
Saturday, January 14, 2017 6:45 PM - Christian

Help script for session SSH in switch HP

 
Hello group, I need help to make a script that runs automatically on an HP switch and save the result to a .txt file with the following commands:

Show version
Show time
Show ip
Show interfaces brief
show interfaces port-utilization
Show running-config
Loggin show

I really do not know how to build a script with xshell

Program Ver. : Xshell 5
Wednesday, January 18, 2017 12:12 AM - jelly

Re: Help script for session SSH in switch HP

 
Hey Christian,

Try this vbs script file. (attachment)

If you want to change txt file name, open and edit script.vbs file,
then change the value of 'txtFileName'.

log file is located in C:\Users\[username]\Documents\NetSarang\Xshell\Logs.

Hope you helpful.