give this command a try, i have a strong feeling it will work great [IMAGE]  plink -ssh ip –l admin -pw password "show logging onboard | egrep Module|FRAMES_DISCARD"
I need to run some sort of script from a (Windows) host which runs 2 comamnds on the CLI of a Cisco MDS switch. Also: the output should be logged somewhere, preferrably to a log on that host.  Does anyone know how to do this? I want to fully automate it, so copy paste after starting an ssh session by using putty is not an option.  The commands I'm trying to run are:  show logging onboard | i  "Module|FRAMES_DISCARD" show interface counters | i "fc|B2B"
How to use a (Windows) CMD batchfile to run commands on Cisco MDS