mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Update ping-hosts.ps1
This commit is contained in:
parent
50466806df
commit
4a3b0aa5fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user