Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added powershell TOOL to continuously test server-port reachability #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions TOOL-MailEnable-PublicFolder/TOOL-MailEnable-PublicFolder.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Mail enable all public folders inside a path.

Get-PublicFolder -Identity '<Public Folder Path>' -GetChildren |Enable-MailPublicFolder
10 changes: 10 additions & 0 deletions TOOL-Test-NetConnection/TOOL-TestNetConnection.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# I felt need for this tool when one of my service intermittently unavailable. While I was testing telnet, service was available for time being.
# I needed a telnet which can continuously keep connecting service port and report if port reachable or not

# Telnet is nice utility to check service availability on remote server-port combination.
# But, problem with telnet is it can't run on continuous like "ping -t"
# also, on Windows 10 telnet is not by default activated. thus, at time when we need telnet on Windows 10 first we need to install telnet feature to use.
# Here we have a small powershell magic to address both problems to continuous test port reachability


while ($true) {test-netconnection <IP Address> -port <Port number> | Format-Table @{n='Timestamp';e={Get-DAte}},tcptestsucceeded}