Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
j81blog committed Feb 19, 2020
2 parents c18ca62 + 5ce4d6f commit 7393a9c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions GenLeCertForNS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
Removing ALL the test certificates from your ADC.
.NOTES
File Name : GenLeCertForNS.ps1
Version : v2.6.2
Version : v2.6.3
Author : John Billekens
Requires : PowerShell v5.1 and up
ADC 11.x and up
Expand Down Expand Up @@ -302,7 +302,7 @@ param(

#requires -version 5.1
#Requires -RunAsAdministrator
$ScriptVersion = "2.6.2"
$ScriptVersion = "2.6.3"
$PoshACMEVersion = "3.12.0"
$VersionURI = "https://drive.google.com/uc?export=download&id=1WOySj40yNHEza23b7eZ7wzWKymKv64JW"

Expand Down Expand Up @@ -973,8 +973,7 @@ function Invoke-CheckScriptVersions {
)
try {
Write-ToLogFile -D -C Invoke-CheckScriptVersions -M "Retrieving data for URI: $URI"
$response = Invoke-RestMethod -Method Get -UseBasicParsing -Uri $URI -ErrorAction SilentlyContinue
$AvailableVersions = $response | ConvertFrom-Json -ErrorAction Stop | ConvertTo-Json -Compress -ErrorAction Stop
$AvailableVersions = Invoke-RestMethod -Method Get -UseBasicParsing -Uri $URI -ErrorAction SilentlyContinue
Write-ToLogFile -D -C Invoke-CheckScriptVersions -M "Successfully retrieved the requested data"
} catch {
Write-ToLogFile -D -C Invoke-CheckScriptVersions -M "Could not retrieve version info. Exception Message: $($_.Exception.Message)"
Expand Down

0 comments on commit 7393a9c

Please sign in to comment.