Skip to content

Commit

Permalink
Update windows commands to support TLS1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy authored and garethgreenaway committed Aug 2, 2023
1 parent 3bae220 commit a9daa35
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit a9daa35

Please sign in to comment.