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

v1.35 #61

Merged
merged 1 commit into from
Sep 22, 2021
Merged
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
2 changes: 1 addition & 1 deletion AdvancedConnectivityPolicyTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ try {
Copy-Item -Path $($LocalPath + '/netstandard2.0/TDSClient.dll') -Destination $TDSClientPath
}
else {
Invoke-WebRequest -Uri $('http://github.com/Azure/SQL-Connectivity-Checker/raw/' + $RepositoryBranch + '/netstandard2.0/TDSClient.dll') -OutFile $TDSClientPath -UseBasicParsing
Invoke-WebRequest -Uri $('https://github.com/Azure/SQL-Connectivity-Checker/raw/' + $RepositoryBranch + '/netstandard2.0/TDSClient.dll') -OutFile $TDSClientPath -UseBasicParsing
}
$assembly = [System.IO.File]::ReadAllBytes($TDSClientPath)
[System.Reflection.Assembly]::Load($assembly) | Out-Null
Expand Down
6 changes: 3 additions & 3 deletions AzureSQLConnectivityChecker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ function RunConnectivityPolicyTests($port) {
else {
try {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls
Invoke-WebRequest -Uri $('http://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/' + $RepositoryBranch + '/AdvancedConnectivityPolicyTests.ps1') -OutFile ".\AdvancedConnectivityPolicyTests.ps1" -UseBasicParsing
Invoke-WebRequest -Uri $('https://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/' + $RepositoryBranch + '/AdvancedConnectivityPolicyTests.ps1') -OutFile ".\AdvancedConnectivityPolicyTests.ps1" -UseBasicParsing
}
catch {
$msg = $CannotDownloadAdvancedScript
Expand Down Expand Up @@ -1250,12 +1250,12 @@ try {
Write-Host Warning: Cannot write log file -ForegroundColor Yellow
}

TrackWarningAnonymously 'v1.34'
TrackWarningAnonymously 'v1.35'
TrackWarningAnonymously ('PowerShell ' + $PSVersionTable.PSVersion + '|' + $PSVersionTable.Platform + '|' + $PSVersionTable.OS )

try {
Write-Host '******************************************' -ForegroundColor Green
Write-Host ' Azure SQL Connectivity Checker v1.34 ' -ForegroundColor Green
Write-Host ' Azure SQL Connectivity Checker v1.35 ' -ForegroundColor Green
Write-Host '******************************************' -ForegroundColor Green
Write-Host
Write-Host 'Parameters' -ForegroundColor Yellow
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if ("AzureKudu" -eq $env:DOTNET_CLI_TELEMETRY_PROFILE) {
} else {
$scriptFile = '/AzureSQLConnectivityChecker.ps1'
}
$scriptUrlBase = 'http://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/master'
$scriptUrlBase = 'https://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/master'
cls
Write-Host 'Trying to download the script file from GitHub (https://github.com/Azure/SQL-Connectivity-Checker), please wait...'
try {
Expand Down Expand Up @@ -96,7 +96,7 @@ if ("AzureKudu" -eq $env:DOTNET_CLI_TELEMETRY_PROFILE) {
} else {
$scriptFile = '/AzureSQLConnectivityChecker.ps1'
}
$scriptUrlBase = 'http://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/master'
$scriptUrlBase = 'https://raw.githubusercontent.com/Azure/SQL-Connectivity-Checker/master'
cls
Write-Host 'Trying to download the script file from GitHub (https://github.com/Azure/SQL-Connectivity-Checker), please wait...'
try {
Expand Down
2 changes: 1 addition & 1 deletion ReducedSQLConnectivityChecker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ try {
Remove-Item $path
}

Invoke-WebRequest -Uri $('http://github.com/Azure/SQL-Connectivity-Checker/raw/' + $RepositoryBranch + '/netstandard2.0/TDSClient.dll') -OutFile $path -UseBasicParsing
Invoke-WebRequest -Uri $('https://github.com/Azure/SQL-Connectivity-Checker/raw/' + $RepositoryBranch + '/netstandard2.0/TDSClient.dll') -OutFile $path -UseBasicParsing

$path = $env:TEMP + "/TDSClient.dll"
$assembly = [System.IO.File]::ReadAllBytes($path)
Expand Down