Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit 9f9eec7

Browse files
committed
TLS 1.2 added
TLS 1.2 added
1 parent 1efcb31 commit 9f9eec7

File tree

2 files changed

+4
-1530
lines changed

2 files changed

+4
-1530
lines changed

Get-ExchangeEnvironmentReport.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE
88
RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
99
10-
Version 2.2 January 2020
10+
Version 2.3 November 2021
1111
1212
Based on the original 1.6.2 version by Steve Goodman
1313
@@ -125,6 +125,9 @@ $MaxDatabaseSize = 250 # Mark database larger than this value (GB) in red
125125
# Default variables
126126
$NotAvailable = 'N/A'
127127

128+
# Set TLS version o TLS 1.2
129+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
130+
128131
# Sub-Function to Get Database Information. Shorter than expected..
129132
function Get-DatabaseAvailabilityGroupInformation {
130133
[CmdletBinding()]

0 commit comments

Comments
 (0)