Update ping-hosts.ps1

This commit is contained in:
Markus Fleschutz 2023-11-08 14:08:17 +01:00
parent 50466806df
commit 4a3b0aa5fb

View File

@ -13,7 +13,7 @@
#> #>
try { try {
[string]$hosts = "Amnesiac,ArchLinux,Berlin,Boston,Castor,Cisco,Fedora,Fireball,Firewall,fritz.box,Gateway,Hippo,Io,Jarvis,Jenkins01,Jenkins02,LA,Laptop,Jupiter,Mars,Mercury,Miami,Mobile,NY,Paris,Pluto,Proxy,R2D2,Rocket,Rome,Router,Server,SmartPhone,SmartWatch,Sunnyboy,Tablet,Ubuntu,Vega,Venus,Zeus" # sorted alphabetically [string]$hosts = "Amnesiac,ArchLinux,Berlin,Boston,Brother,Canon,Castor,Cisco,Epson,Fedora,Fireball,Firewall,fritz.box,Gateway,Hippo,Io,Jarvis,Jenkins01,Jenkins02,LA,Laptop,Jupiter,Mars,Mercury,Miami,Mobile,NY,Paris,Pluto,Proxy,R2D2,Rocket,Rome,Router,Server,SmartPhone,SmartWatch,Sunnyboy,Tablet,Ubuntu,Vega,Venus,Xerox,Zeus" # sorted alphabetically
[int]$timeout = 600 # milliseconds [int]$timeout = 600 # milliseconds
$hostsArray = $hosts.Split(",") $hostsArray = $hosts.Split(",")
$count = $hostsArray.Count $count = $hostsArray.Count