Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: M1NDN1NJ4
Forum: Scripting 10-04-2015, 12:38 AM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
Sorry, my ADHD got a hold of me on that last one....

Sorry, my ADHD got a hold of me on that last one.

So I added both commands to the script before line 290.

I've attached two screenshots and the script I'm using.

Scripting Error - Debugging...
Forum: Scripting 10-01-2015, 10:05 PM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
So I tried both ways and I'm still getting the...

So I tried both ways and I'm still getting the same error.
Forum: Scripting 09-30-2015, 07:29 PM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
So I added what I think should work for the...

So I added what I think should work for the "shop1#" you can take a look and see at the attached script.

Now I'm running into another error. See attached screenshot.
Forum: Scripting 09-30-2015, 12:24 PM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
Okay so I've added the following to the script: ...

Okay so I've added the following to the script:
' Send each command one-by-one to the remote system:
For Each strCommand In vCommands
crt.Screen.Send vbCRLF
...
Forum: Scripting 09-29-2015, 11:25 PM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
So the modified script fixed the losing of...

So the modified script fixed the losing of connection error.

Now the issue I have is, sometimes when I get to the portion of my commands that changes the hostname with the added "%guest-ion#" or...
Forum: Scripting 09-29-2015, 03:20 AM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
Without using the script it takes around forty...

Without using the script it takes around forty seconds to run the commands. The memory usage spiked around 60,000 K CPU utilization spiked around 30%.

While using the script it took it about nine...
Forum: Scripting 09-26-2015, 04:40 PM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
Sorry, about that. Attached is a new screenshot...

Sorry, about that. Attached is a new screenshot and the Script I'm using.
Forum: Scripting 09-25-2015, 08:41 AM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
I'm using SecureCRT Version 7.3.4 (x64 build...

I'm using SecureCRT Version 7.3.4 (x64 build 839).



The connection is getting closed. The reason I think it might have something to do with the script is because if I run all of the commands in...
Forum: Scripting 09-25-2015, 07:11 AM
Replies: 18
Views: 8,691
Posted By M1NDN1NJ4
Scripting Errors

Hello,

I have been using the attached script successfully for a while now. I have recently run into a few issues.

The first one that I've run into is that it seems like the script might be...
Forum: Scripting 07-23-2014, 02:38 PM
Replies: 4
Views: 3,461
Posted By M1NDN1NJ4
I got it working now. Thanks for the help.

I got it working now.

Thanks for the help.
Forum: Scripting 07-23-2014, 02:33 PM
Replies: 4
Views: 3,461
Posted By M1NDN1NJ4
So I changed the ">" to a "#" and it's still...

So I changed the ">" to a "#" and it's still getting hung up at the same place.

' This Select..Case statement represents somewhat of a "state machine"
' in which the value of...
Forum: Scripting 07-23-2014, 01:26 PM
Replies: 4
Views: 3,461
Posted By M1NDN1NJ4
Help With A Script Getting Stuck

Hello,

I've been using a script that I found on this forum to great success!

But now I've run into a device that has a banner that my script hasn't run across before and it doesn't like it...
Forum: Scripting 04-14-2014, 09:20 PM
Replies: 7
Views: 11,890
Posted By M1NDN1NJ4
The python script I'd like to use is here: ...

The python script I'd like to use is here:

https://forums.vandyke.com/showthread.php?p=37294#post37294

Here are the following lines of code that I need added or changed to the python...
Forum: Scripting 04-11-2014, 11:27 PM
Replies: 7
Views: 11,890
Posted By M1NDN1NJ4
Here you go, I've attached the script to the post...

Here you go, I've attached the script to the post because it's too large to put in the post itself. There is a python script that's the same but, there's things I've added to this one that I don't...
Forum: Scripting 04-11-2014, 03:53 PM
Replies: 7
Views: 11,890
Posted By M1NDN1NJ4
VBScript to Python conversion

https://www.dropbox.com/s/sr5uz4lr98swrga/My%20script%20to%20convert%20to%20python.vbs.txt

Hello,

I'd like to be able to run this script on my MacBook Pro, and was wondering if there was an...
Forum: Scripting 04-10-2014, 12:17 PM
Replies: 1
Views: 2,293
Posted By M1NDN1NJ4
Text & Font Styles in a Log File

I was wondering if there was a way to make certain parts of a log file that are produced while running a script be in bold, italic, or both?

Thanks,

Ryan
Forum: Scripting 03-28-2014, 02:55 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, So I'm getting errors when I try to...

Brenda,

So I'm getting errors when I try to run the script, below is the sample of what I'm trying:


' Dim objFile, strLogFile

'...
Forum: Scripting 03-28-2014, 12:36 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, Where would be the best place to put...

Brenda,

Where would be the best place to put this in my script be? And how would I integrate the results into the logging?

Thanks,

Ryan.
Forum: Scripting 03-26-2014, 08:45 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, Sorry about the long delay in a...

Brenda,

Sorry about the long delay in a response, it's been a super hectic week for me. As to the stuff I was asking about the changes in logging that is above the quoted text in my reply I'm not...
Forum: Scripting 03-21-2014, 01:35 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, After taking out the "HH-MM-SS" at...

Brenda,

After taking out the "HH-MM-SS" at the end it now puts everything in one log file.

The other thing I've noticed now that I would like to change now that's fixed is that if I run the...
Forum: Scripting 03-21-2014, 11:48 AM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Here you go. ' Template used for...

Here you go.


' Template used for formulating the name of the results file in which the
' command output will be saved. You can choose to arrange the various
' components (i.e. "IPADDRESS",...
Forum: Scripting 03-21-2014, 11:33 AM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, I changed the script as you...

Brenda,

I changed the script as you suggested, and ran it with a few commands in the commands.txt file.

The results are now, it now captures the output that each command generates, but it's...
Forum: Scripting 03-21-2014, 08:15 AM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, It works great, I used it last night...

Brenda,

It works great, I used it last night to make multiple changes to thirty-three Cisco Switches/Routers that were in production with no problems!

The only thing I noticed about it that I...
Forum: Scripting 03-20-2014, 04:34 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, I fixed it! Here's the fix: ...

Brenda,

I fixed it!

Here's the fix:

' Send each command one-by-one to the remote system:
For Each strCommand In vCommands
strOrigPrompt = strPrompt
...
Forum: Scripting 03-20-2014, 03:30 PM
Replies: 29
Views: 10,199
Posted By M1NDN1NJ4
Brenda, Yes the prompt I get after exiting...

Brenda,

Yes the prompt I get after exiting configure mode is the same as the original prompt.

Thanks,

Ryan
Showing results 1 to 25 of 31

 
Forum Jump

All times are GMT -6. The time now is 04:00 AM.