in reply to For loop and Sub Routines

This part of your code says to only to `show run` if it's "asr01". IF you want it to run for everything, take out the if statement.

if ($routerName eq 'asr01') { $test = $ssh->exec("show run | in hostname ");