Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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