We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be75d3b commit c80f9faCopy full SHA for c80f9fa
1 file changed
utilities/SystemStatus.ps1
@@ -1,4 +1,14 @@
1
-#Function Ping-Host
+<#Function Ping-Host
2
+ Usage:
3
+ Ping multiple hostnames at a time
4
+ Ping-Host '127.0.0.1','localhost','10.0.50.5'
5
+ Ping range ip range at a time
6
+ Ping-Host (100..150|%{"10.0.50.$_"})
7
+ Ping a list of hostname in one go
8
+ Ping-Host -Hosts (gc C:\temp\computers.txt)
9
+ Ping hostnames queried from Active Directory
10
+ Ping-Host -Hosts ((Get-ADComputer -Filter {name -like 'LAPTOP*'}).name
11
+#>
12
Function Ping-Host
13
{
14
#Parameter Definition
0 commit comments