The version of your Trello module I've been using for a while stopped working this month.
Creating board
New-TrelloBoard : The request was aborted: Could not create SSL/TLS secure channel.
Trying to get things working again.
Saw you'd made updates, so I'm updating my dependencies.
Looks like perhaps you renamed the module from Trello to PowerTrello? Since the renaming, the readme is no longer valid.
Instances of Trello
in your readme should be changed to PowerTrello
.
FYI: PsGet doesn't look like a viable project anymore. I cannot install it. Their server is returning 500 errors. If that continues, you might consider removing it from your instructions.
I ended up cloning the repo and installing manually. Changed my script references from Trello to PowerTrello. Script wouldn't run, assumed it's the token.
I remade my token and saved to the registry.
I'm now blocked on creating a new board with the following:
Creating board
New-TrelloBoard : The request was aborted: Could not create SSL/TLS secure channel.
At C:\code\devops-general\ServerScripts\Operational\Create-Trello-MonthlyPatchingBoard.ps1:40 char:10
+ $board = New-TrelloBoard -Name "$YearDashMonth Monthly Patching"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-TrelloBoard
This is the same issue that I encountered when I first tried to run my script this morning.
It's related to this SO post:
https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
I placed the following at the top of the module, and it fixed it.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12