Branch | Windows | Linux |
---|---|---|
master | ||
development |
FastPing is a PowerShell Module that can help speed up ping requests against a fleet of target hosts.
- Windows PowerShell 5.1 or greater, or
- PowerShell Core
Install-Module -Name 'FastPing' -Scope 'CurrentUser'
# Ping 1.1.1.1 using the function name
Invoke-FastPing -HostName '1.1.1.1'
# Ping 1.1.1.1 using the fp alias
fp 1.1.1.1
# Ping some DNS resolvers using the fp alias
fp 1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4
# Ping some DNS resolvers using the fp alias using 50 pings per host
fp 1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4 -Count 50
# Ping a range of IP Addresses using the function name
Invoke-PingSweep -StartIP '1.1.1.1' -EndIP '1.1.1.5'
# Ping a range of IP Addresses using the psweep alias
psweep -StartIP '1.1.1.1' -EndIP '1.1.1.5'
# Ping a range of IP Addresses using the psweep alias and subnet calculations
psweep -IPAddress '1.1.1.1' -SubnetMask '255.255.255.252'
Andrew Pearce - https://andrewpearce.io
Jake Morrison - CI/CD standardization work Chris Dent - Network Calculation PowerShell code from the Indented.Net.IP PowerShel Module. Source code.