Closed raandree closed 6 years ago
Good catch! Mind using [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
? This will add tls12 to current set of options vs. replace - just in case this runs in an interactive session and someone has some niche dependency on another protocol in that list.
Also! I think your's is more concise as is, but if you end up pulling more than a few files, the github type might be worth looking at
Thanks!
Whee! Alrighty, hope you don't mind the change, merging and deploying now!
PSDepends thrown the following error when using an HTTPS download link:
The PSDepends configuration used: