Forum Discussion
Great question. Technician Console scripts can be written in and deployed using any language the operating system can execute. For example a script can be written in a batch file using Visual Basic, or it can be a software package.
Some of the examples I provided are probably about as simple as you can get. All I did is use the command you would use at the C prompt and paste it into Notepad and saved it with a ".cmd" extension.
Perhaps a good place to start is using basic commands. Try Googling "command prompt cheat sheet" and that should get you started.
Does anyone have any resources for scripting which they have found useful?
I use this to see if the clients ISP is blocking port 25 (smtp traffic). You will have to change SMTPSERVER.COM to a server you know accepts SMTP traffic. You will also need to remove the space after the @ symbol and try to use a known account. Either way it probably won't finish, but as long as you receive something other than this "Connecting To SMTPSERVER.COM...Could not open connection to the host, on port 25: Connect failed" back it is probably open.
@echo off
rem ---------------------------
rem - Port 25 Test -
rem ---------------------------
echo Testing Port 25:
telnet SMTPSERVER.COM 25
EHLO SMTPSERVER.COM
MAIL FROM: TEST@ SMTPSERVER.COM
RCPT TO: TESTER@ SMTPSERVER.COM
DATA
Subject: Test
This is a test message you will not see a response from this command.
.
QUIT
echo --------------------------------------------
exit