View Single Post
Old 03-31-2020, 12:36 PM
dougbert dougbert is offline
Registered User
Join Date: Dec 2019
Posts: 5
Thanks Brittney,

The Session/ConnectInTab function was what I was looking for. I've got a script working now that will read in a CSV file that contains a list of hosts and a list of interfaces that need to be reconfigured. I needed the script to connect to each host and then parse the interfaces out and perform commands on each of them and then save.

I ended up using function from the RunCommandsonMultipleHostsAndLogResults to close the tabs each host ends up opening up:
if g_objNewTab.Index <> crt.GetScriptTab().Index:
Reply With Quote