Update ping-hosts.ps1

This commit is contained in:
Markus Fleschutz 2023-11-08 13:58:51 +01:00
parent d662dcf125
commit 50466806df

View File

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