Random Project
* TCP and UDP (Generic)

Simple TCP Port ant Ping Check in PowerShell

0 (0)
9,172
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

This Script Will Test if TCP Port Connection is open and if it pings

–EXAMPLE
.check_testport.ps1 -Server SERVER-ADDRESS
OK : PingReplyDetails: 32ms

–EXAMPLE 1
.check_testport.ps1 -Server SERVER-ADDRESS
FAIL: Ping Timeout

— EXAMPLE 2
.check_testport.ps1 -Server SERVER-ADDRESS -Port 80
FAIL: TCP Port 80 CLOSED, PingSucceeded: True, Roundtrip Time: 8ms

–EXAMPLE 3
.check_testport.ps1 -Server SERVER-ADDRESS -Port 3200
FAIL: TCP Port 3200 CLOSED, PingSucceeded: False, Roundtrip Time: 0ms


Project Details

Current Version

1.0

Last Release Date

2018-03-01

Owner

Pedro Simoes

Compatible With

Recommend

To:


From: