mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 14:30:42 +02:00
Update ping-hosts.ps1
This commit is contained in:
parent
4a3b0aa5fb
commit
b2485aa1ab
@ -13,7 +13,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
[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
|
||||
[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,OctoPi,Paris,Pluto,Printer,Proxy,R2D2,Raspberry,Rocket,Rome,Router,Server,SmartPhone,SmartWatch,Sunnyboy,Tablet,Ubuntu,Vega,Venus,XRX,Zeus" # sorted alphabetically
|
||||
[int]$timeout = 600 # milliseconds
|
||||
$hostsArray = $hosts.Split(",")
|
||||
$count = $hostsArray.Count
|
||||
|
Loading…
Reference in New Issue
Block a user