Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jouleSoft/Test-Ports.ps1
PowerShell TCP ports monitoring tool
https://github.com/jouleSoft/Test-Ports.ps1
portscan powershell tcp
Last synced: 3 months ago
JSON representation
PowerShell TCP ports monitoring tool
- Host: GitHub
- URL: https://github.com/jouleSoft/Test-Ports.ps1
- Owner: jouleSoft
- License: mit
- Created: 2021-01-30T20:37:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-31T12:16:58.000Z (almost 4 years ago)
- Last Synced: 2024-06-06T20:01:21.972Z (5 months ago)
- Topics: portscan, powershell, tcp
- Language: PowerShell
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - jouleSoft/Test-Ports.ps1 - PowerShell TCP ports monitoring tool (PowerShell)
README
![License MIT](https://img.shields.io/badge/license-MIT-green)
![Contributors](https://img.shields.io/github/contributors-anon/jouleSoft/Test-Ports.ps1)
![Last commit](https://img.shields.io/github/last-commit/jouleSoft/Test-Ports.ps1)Test-Ports.ps1
Test-Ports.ps1 is a PowerShell script for monitoring a predefined TCP port list.
## Prerequisites
PowerShell **Desktop** (Windows PowerShell 2.0+) or **Core** editions.## Examples
### Check a single target computer```
PS > Test-Ports.ps1 -ComputerName 172.16.0.2
Test-Ports.ps1 v.1.1 - PowerShell TCP ports monitoring tool (MIT)Host/IP RDP WinRM VNC HTTP
------- --- ----- --- ----
172.16.0.2 OK OK ! !
```### Check a list of targets
```
PS > Test-Ports.ps1 -ComputerName $(Get-Content .\List.txt)
Test-Ports.ps1 v.1.1 - PowerShell TCP ports monitoring tool (MIT)Host/IP RDP WinRM VNC HTTP
------- --- ----- --- ----
172.16.0.2 OK OK ! !
172.16.0.3 OK ! ! !
172.16.0.4 ! ! ! !
172.16.0.5 ! ! OK !
```