Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Simple TCP Port ant Ping Check in PowerShell
--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
Reviews (0)
Be the first to review this listing!