Update windows commands to support TLS1.2

This commit is contained in:
twangboy 2023-08-02 14:36:51 -06:00 committed by Gareth J. Greenaway
parent 3bae220e0c
commit a9daa35db7

View file

@ -400,18 +400,18 @@ Install on Windows
Using ``PowerShell`` to install latest stable version:
.. code:: console
.. code:: powershell
Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile $env:TEMP\bootstrap-salt.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
& $env:TEMP\bootstrap-salt.ps1
Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
Invoke-WebRequest -Uri https://winbootstrap.saltproject.io -OutFile "$env:TEMP\bootstrap-salt.ps1"
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
& "$env:TEMP\bootstrap-salt.ps1"
Display information about the install script parameters:
.. code:: console
.. code:: powershell
help $env:TEMP\bootstrap-salt.ps1 -Detailed
Get-Help $env:TEMP\bootstrap-salt.ps1 -Detailed
Using ``cygwin`` to install latest stable version: