I have to check 10 different D-link switches (DGS-3324SR and DES-3526).

Is it possible to make a Kixtart script to logon a switch (with Username/Password) and execute a commandline, such as "SHOW ERROR PORTS 1,2,3". Eventually return the result in a txt-file and logout from the switch?