https://github.com/jouleSoft/Test-Ports.ps1
PowerShell TCP ports monitoring tool
https://github.com/jouleSoft/Test-Ports.ps1
portscan powershell tcp
Last synced: 4 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 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-31T12:16:58.000Z (almost 5 years ago)
- Last Synced: 2024-11-21T18:37:20.383Z (12 months ago)
- Topics: portscan, powershell, tcp
- Language: PowerShell
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- 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



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 !
```