Skip to content

Discover hosts in your network with this powershell script!

License

Notifications You must be signed in to change notification settings

JeneralMotors/Ping-Sweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping-Sweep PowerShell Script

Overview

The Ping-Sweep script is a PowerShell function designed to perform a ping sweep on a range of IP addresses. It checks the reachability of hosts within the specified IP address range and provides information about the alive hosts.

  • The script uses background jobs to parallelize the ping sweep for improved efficiency.
  • The IP address range for the sweep is assumed to be from ".1" to ".254", allowing customization based on common network configurations.

Usage

  1. Function Name: Ping-Sweep
  2. Parameters:
    • $Target: The first three octets of the base IP address for the ping sweep.

Progress and Completion

The script displays a progress bar indicating the completion rate of the ping sweep.

Output

  • IPAdress: The IP Address of the Host.
  • Latency: The round-trip for the ping request.
  • Status: The status of the request.

How to Run

Ping-Sweep -Target "192.168.100"
Ping-Sweep -Target "10.10.48"

Example

Alt text

About

Discover hosts in your network with this powershell script!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published