From 0590a081dbd25cc6095eb202a0c38278da128a37 Mon Sep 17 00:00:00 2001 From: Rob Jagger <116566+jagger@users.noreply.github.com> Date: Fri, 8 Apr 2022 14:26:24 -0400 Subject: [PATCH] Update install.md Updated preferred DL location --- docs/getting_started/install.md | 52 ++++++++++++--------------------- 1 file changed, 18 insertions(+), 34 deletions(-) diff --git a/docs/getting_started/install.md b/docs/getting_started/install.md index efba039c..bac319ff 100644 --- a/docs/getting_started/install.md +++ b/docs/getting_started/install.md @@ -17,29 +17,13 @@ sort: 1 `Thycotic.SecretServer` is available to download from the following locations: -- [PowerShell Gallery](https://www.powershellgallery.com/packages/Thycotic.SecretServer/) - [GitHub Releases](https://github.com/thycotic-ps/thycotic.secretserver/releases/latest) -- [Direct download](https://thyproservices.z20.web.core.windows.net/Thycotic.SecretServer.zip) +- **[Direct download](https://thyproservices.z20.web.core.windows.net/Thycotic.SecretServer.zip) Current Release** +- *[PowerShell Gallery](https://www.powershellgallery.com/packages/Thycotic.SecretServer/) Release 60.4* Choose one of the following methods to obtain & install the module: -## Option 1: Install from PowerShell Gallery - -PowerShell Gallery is the preferred method for installing the module. - -1. Open a PowerShell prompt - -2. Execute the following command: - -```powershell -Install-Module -Name Thycotic.SecretServer -Scope CurrentUser -``` - -> **Warning** **Windows PowerShell 5.1 or PowerShell 7+** must be used to download the module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Thycotic.SecretServer/). - -> **Warning** **Windows PowerShell 5.1** TLS error: PowerShell Gallery only supports TLS 1.2 and above, errors noted [here](https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/#errors-i-might-see) may be observed. You will need to start a new PowerShell session and set TLS to 1.2: `[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12` - -## Option 2: Manual Install +## Option 1: Manual Install You can manually copy the module to a desired PowerShell Modules path, `PSModulePath`. @@ -55,21 +39,6 @@ More: [about_PSModulePath](https://docs.microsoft.com/en-us/powershell/module/mi There are multiple options for downloading the module files: -### PowerShell Gallery - -- Download the module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Thycotic.SecretServer/) by running: - -```powershell -Save-Module -Name Thycotic.SecretServer -Path C:\temp -AllowPrerelease -``` - -Copy the `Thycotic.SecretServer` directory to the `PSModules` path of choice. - -You can also use the module from the saved path by providing the absolute path to the PSD1 file: - -```powershell -Import-Module c:\temp\Thycotic.SecretServer\\Thycotic.SecretServer.psd1 -``` ### GitHub Release @@ -114,3 +83,18 @@ Get detailed information on specific commands: ```powershell Get-Help Get-TssSecret -Full ``` +## Option 2: Install from PowerShell Gallery + +*PowerShell Gallery does not contain releases after v60.4* + +1. Open a PowerShell prompt + +2. Execute the following command: + +```powershell +Install-Module -Name Thycotic.SecretServer -Scope CurrentUser +``` + +> **Warning** **Windows PowerShell 5.1 or PowerShell 7+** must be used to download the module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Thycotic.SecretServer/). + +> **Warning** **Windows PowerShell 5.1** TLS error: PowerShell Gallery only supports TLS 1.2 and above, errors noted [here](https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/#errors-i-might-see) may be observed. You will need to start a new PowerShell session and set TLS to 1.2: `[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12`