Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 23 of 23
Search took 0.00 seconds.
Search: Posts Made By: jcat9
Forum: Scripting 10-27-2015, 09:37 AM
Replies: 1
Views: 2,022
Posted By jcat9
D'oh...should have searched deeper first. Just...

D'oh...should have searched deeper first. Just found the /script switch.
Forum: Scripting 10-27-2015, 09:34 AM
Replies: 1
Views: 2,022
Posted By jcat9
Call script in command line while starting SecureCRT?

Hey all,

Wondering if there's a way to do what I'm trying to accomplish.

Backstory: I'm writing an AutoHotKey script to automate some compliance auditing for my boss. This script (ideally...
Forum: Scripting 09-13-2013, 02:00 PM
Replies: 36
Views: 9,260
Posted By jcat9
Update: Added in some error handling and an On...

Update: Added in some error handling and an On Error Resume Next. It now is passing by any sessions that are giving error windows and is flying through devices as we speak.

I did try to set it...
Forum: Scripting 09-13-2013, 01:39 PM
Replies: 36
Views: 9,260
Posted By jcat9
Ok, so I just stumbled upon some more fun stuff....

Ok, so I just stumbled upon some more fun stuff.

I removed a few selected devices that the script was having issues with. Once I did that, it was able to jump through 3 additional devices that...
Forum: Scripting 09-13-2013, 12:52 PM
Replies: 36
Views: 9,260
Posted By jcat9
Understood, I didn't change anything from the...

Understood, I didn't change anything from the text you gave me as I do not know how to tell the script to read the next line in the host file.

I do believe that the host keys are at play here...
Forum: Scripting 09-13-2013, 12:42 PM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, I have v 5.1, 5.2 and 5.5 all...

Hi Brenda,

I have v 5.1, 5.2 and 5.5 all installed on the server as they are the only ones that seem to want to install on Server 03 R2.

I tried the statement you listed above and it gave me an...
Forum: Scripting 09-13-2013, 11:26 AM
Replies: 36
Views: 9,260
Posted By jcat9
I installed v5.2 as well, and I'm still getting...

I installed v5.2 as well, and I'm still getting the same error even with the /ACCEPTHOSTKEYS argument added as indicated above.

I get the following:

"CRT Scripting Runtime error

Error:...
Forum: Scripting 09-13-2013, 11:14 AM
Replies: 36
Views: 9,260
Posted By jcat9
Gotcha. Is there a v5.1 equivalent to that? Or...

Gotcha. Is there a v5.1 equivalent to that? Or a possible workaround? I suppose I could try to get it to 5.2 and see if that works.
Forum: Scripting 09-13-2013, 10:53 AM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Yes, that is where I added the...

Hi Brenda,

Yes, that is where I added the /ACCEPTHOSTKEYS option.

I am now using version 5.1.3, because it worked with the test file. Now I just have to overcome the host keys issue, and it'll...
Forum: Scripting 09-13-2013, 09:47 AM
Replies: 36
Views: 9,260
Posted By jcat9
So now there's a new problem I've discovered. I...

So now there's a new problem I've discovered. I believe I've eliminated all devices out of my list that won't respond; everything that's in there now should be up and able to receive commands.
...
Forum: Scripting 09-13-2013, 09:12 AM
Replies: 36
Views: 9,260
Posted By jcat9
Interesting...while buggering around trying to...

Interesting...while buggering around trying to upgrade my version of SecureCRT, I managed to downgrade to version 5.1.3, and the script now works. Maybe a bug in 6.0?

Problem I have, is that it...
Forum: Scripting 09-13-2013, 08:34 AM
Replies: 36
Views: 9,260
Posted By jcat9
Currently running 6.0.3. I believe the highest I...

Currently running 6.0.3. I believe the highest I can upgrade to without paying for it is 6.2.3. Will that version work? Better than 6.0 I suppose.

EDIT: Darn. The server I'm using is Server...
Forum: Scripting 09-13-2013, 07:42 AM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Version is SecureCRT 6.0. The...

Hi Brenda,

Version is SecureCRT 6.0. The sequence of events is as follows:

-Open SecureCRT, select the script to run through the Script menu.

-New tab opens up with first device. Runs...
Forum: Scripting 09-12-2013, 08:46 AM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Yes, all devices use the same...

Hi Brenda,

Yes, all devices use the same prompt. Thankfully all the devices are the same make and model and same software version so that part of it is all identical across the board.

I'm not...
Forum: Scripting 09-11-2013, 11:48 AM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda- Here is the script with your most...

Hi Brenda-

Here is the script with your most recent change that I tried, but still got the error.


#$language = "VBScript"
#$interface = "1.0"

Sub Main
Forum: Scripting 09-11-2013, 10:16 AM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, I just tried that change, and it...

Hi Brenda,

I just tried that change, and it did not work for me. I get the same exact error when it goes to try to connect to the second machine.

I watched the video on the chat window but I'm...
Forum: Scripting 09-10-2013, 05:18 PM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, I have to apologize. I realized...

Hi Brenda,

I have to apologize. I realized upon cleaning some things up, I included the wrong code. Below is the cleaned up and corrected version that is not quite 100%.


#$language =...
Forum: Scripting 09-10-2013, 05:08 PM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Truthfully, I'm confused as...

Hi Brenda,


Truthfully, I'm confused as well!

I have to preface this with the fact that I am nothing of a programmer whatsoever. I have zero VBScript experience prior to this endeavor. I...
Forum: Scripting 09-10-2013, 04:30 PM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Yes, I believe the disconnect us...

Hi Brenda,

Yes, I believe the disconnect us after all the command strings (not at my pc at the moment).

There are no telnet connections, they are 100% SSHv2.

I made that change and it...
Forum: Scripting 09-10-2013, 01:15 PM
Replies: 36
Views: 9,260
Posted By jcat9
Hi Brenda, Thanks for your reply. I made...

Hi Brenda,

Thanks for your reply. I made the change you suggested, and had to fix my devices file (I'm using a test file with only 3 devices in it at the moment).

When I did so, it ran through...
Forum: Scripting 09-10-2013, 12:44 PM
Replies: 36
Views: 9,260
Posted By jcat9
FYI Mods, it just dawned on me that I left a...

FYI Mods, it just dawned on me that I left a user/password in the code that I shouldn't have...please remove this as I know I won't be able to edit it! Thanks!
Forum: Scripting 09-10-2013, 12:36 PM
Replies: 36
Views: 9,260
Posted By jcat9
Here's the script I was running: #$language...

Here's the script I was running:

#$language = "VBScript"
#$interface = "1.0"

Const username = "User" ' Username to use for login

Const password = "p@ssw0rd" ' Password for corresponding...
Forum: Scripting 09-10-2013, 12:24 PM
Replies: 36
Views: 9,260
Posted By jcat9
Scripting newbie: Need some help!

Hi All,

long time user, first time scripter here. I'm working on a project that requires changes to the DHCP pools on well over 100 Cisco routers. Obviously, I'd LOVE to be able to script this...
Showing results 1 to 23 of 23

 
Forum Jump

All times are GMT -6. The time now is 03:30 PM.