diff --git a/TOOL-MailEnable-PublicFolder/TOOL-MailEnable-PublicFolder.ps1 b/TOOL-MailEnable-PublicFolder/TOOL-MailEnable-PublicFolder.ps1 new file mode 100644 index 00000000..0d293b13 --- /dev/null +++ b/TOOL-MailEnable-PublicFolder/TOOL-MailEnable-PublicFolder.ps1 @@ -0,0 +1,3 @@ +# Mail enable all public folders inside a path. + +Get-PublicFolder -Identity '' -GetChildren |Enable-MailPublicFolder diff --git a/TOOL-Test-NetConnection/TOOL-TestNetConnection.ps1 b/TOOL-Test-NetConnection/TOOL-TestNetConnection.ps1 new file mode 100644 index 00000000..ff33818d --- /dev/null +++ b/TOOL-Test-NetConnection/TOOL-TestNetConnection.ps1 @@ -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 -port | Format-Table @{n='Timestamp';e={Get-DAte}},tcptestsucceeded}