mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-15 04:24:30 +02:00
initial commit
This commit is contained in:
commit
c782dde326
61 changed files with 1457 additions and 0 deletions
7
scripts/ch10-05-error_check.rsc
Normal file
7
scripts/ch10-05-error_check.rsc
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ch10-05-error-check.rsc
|
||||
:local WebSites { "badname1234.com"; "google.com"};
|
||||
|
||||
:foreach SiteName in=$WebSites do={
|
||||
:local SiteIpAddress [/resolve $SiteName];
|
||||
:put "Site IP for $SiteName is $SiteIpAddress";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue