diff --git a/powershell-gallery/powershellget-1.x/PowerShellGet/Find-Script.md b/powershell-gallery/powershellget-1.x/PowerShellGet/Find-Script.md index ec2941e..29c34ee 100644 --- a/powershell-gallery/powershellget-1.x/PowerShellGet/Find-Script.md +++ b/powershell-gallery/powershellget-1.x/PowerShellGet/Find-Script.md @@ -199,6 +199,8 @@ Accept wildcard characters: False ### -Credential +Specifies a user account that has permission to access the repository to search for scripts. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-1.x/PowerShellGet/Install-Script.md b/powershell-gallery/powershellget-1.x/PowerShellGet/Install-Script.md index c5f5465..45fb7ac 100644 --- a/powershell-gallery/powershellget-1.x/PowerShellGet/Install-Script.md +++ b/powershell-gallery/powershellget-1.x/PowerShellGet/Install-Script.md @@ -313,6 +313,10 @@ Accept wildcard characters: False ### -NoPathUpdate +By default, this command adds the install location of the script to the `$env:PATH` environment +variable. When you use the **NoPathUpdate** switch, the command doesn't update the `$env:PATH` +variable. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-1.x/PowerShellGet/Publish-Script.md b/powershell-gallery/powershellget-1.x/PowerShellGet/Publish-Script.md index 6271c20..49c1fa9 100644 --- a/powershell-gallery/powershellget-1.x/PowerShellGet/Publish-Script.md +++ b/powershell-gallery/powershellget-1.x/PowerShellGet/Publish-Script.md @@ -124,6 +124,8 @@ the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s ### -Credential +Specifies a user account that has rights to publish the script. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-1.x/PowerShellGet/Set-PSRepository.md b/powershell-gallery/powershellget-1.x/PowerShellGet/Set-PSRepository.md index eb3e38d..a1c8450 100644 --- a/powershell-gallery/powershellget-1.x/PowerShellGet/Set-PSRepository.md +++ b/powershell-gallery/powershellget-1.x/PowerShellGet/Set-PSRepository.md @@ -50,6 +50,8 @@ URIs. ### -Credential +Specifies a user account that has rights to change the repository settings. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Find-Script.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Find-Script.md index d57662d..5bee063 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Find-Script.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Find-Script.md @@ -214,6 +214,8 @@ Accept wildcard characters: False ### -Credential +Specifies a user account that has permission to access the repository to search for scripts. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Module.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Module.md index b52e32e..c32bb53 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Module.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Module.md @@ -323,6 +323,9 @@ Accept wildcard characters: False ### -PassThru +When using the **PassThru** parameter, `Install-Module` outputs a **PSRepositoryItemInfo** object +for the module. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Script.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Script.md index 70a6c52..d9db577 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Script.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Install-Script.md @@ -344,6 +344,10 @@ Accept wildcard characters: False ### -NoPathUpdate +By default, this command adds the install location of the script to the `$env:PATH` environment +variable. When you use the **NoPathUpdate** switch, the command doesn't update the `$env:PATH` +variable. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -358,6 +362,9 @@ Accept wildcard characters: False ### -PassThru +When using the **PassThru** parameter, `Install-Script` outputs a **PSRepositoryItemInfo** object +for the script. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Publish-Script.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Publish-Script.md index bf9509f..45e5f19 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Publish-Script.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Publish-Script.md @@ -124,6 +124,8 @@ the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s ### -Credential +Specifies a user account that has rights to publish the script. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) @@ -273,17 +275,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -> [!IMPORTANT] -> As of April 2020, the PowerShell Gallery no longer supports Transport Layer Security (TLS) -> versions 1.0 and 1.1. If you are not using TLS 1.2 or higher, you will receive an error when -> trying to access the PowerShell Gallery. Use the following command to ensure you are using TLS -> 1.2: -> -> `[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12` -> -> For more information, see the -> [announcement](https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/) in the -> PowerShell blog. +The PowerShell Gallery no longer supports Transport Layer Security (TLS) versions 1.0 and 1.1. You +must use TLS 1.2 or higher. Use the following command to ensure you are using TLS 1.2: + +`[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12` ## RELATED LINKS diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Set-PSRepository.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Set-PSRepository.md index 62fd31c..d4c185a 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Set-PSRepository.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Set-PSRepository.md @@ -50,6 +50,8 @@ URIs. ### -Credential +Specifies a user account that has rights to change the repository settings. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-2.x/PowerShellGet/Update-Script.md b/powershell-gallery/powershellget-2.x/PowerShellGet/Update-Script.md index b1b9c25..90d5f84 100644 --- a/powershell-gallery/powershellget-2.x/PowerShellGet/Update-Script.md +++ b/powershell-gallery/powershellget-2.x/PowerShellGet/Update-Script.md @@ -150,6 +150,9 @@ Accept wildcard characters: False ### -PassThru +When using the **PassThru** parameter, `Update-Script` outputs a **PSRepositoryItemInfo** object +for the script. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-3.x/PowerShellGet/Find-Script.md b/powershell-gallery/powershellget-3.x/PowerShellGet/Find-Script.md index b392f26..e6dd6a1 100644 --- a/powershell-gallery/powershellget-3.x/PowerShellGet/Find-Script.md +++ b/powershell-gallery/powershellget-3.x/PowerShellGet/Find-Script.md @@ -192,6 +192,8 @@ Accept wildcard characters: False ### -Credential +Specifies a user account that has permission to access the repository to search for scripts. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-3.x/PowerShellGet/Publish-Script.md b/powershell-gallery/powershellget-3.x/PowerShellGet/Publish-Script.md index 119a78a..76597a1 100644 --- a/powershell-gallery/powershellget-3.x/PowerShellGet/Publish-Script.md +++ b/powershell-gallery/powershellget-3.x/PowerShellGet/Publish-Script.md @@ -129,6 +129,8 @@ the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s ### -Credential +Specifies a user account that has rights to publish the script. + ```yaml Type: System.Management.Automation.PSCredential Parameter Sets: (All) diff --git a/powershell-gallery/powershellget-3.x/PowerShellGet/Update-Script.md b/powershell-gallery/powershellget-3.x/PowerShellGet/Update-Script.md index 032939f..0203a6f 100644 --- a/powershell-gallery/powershellget-3.x/PowerShellGet/Update-Script.md +++ b/powershell-gallery/powershellget-3.x/PowerShellGet/Update-Script.md @@ -157,6 +157,9 @@ Accept wildcard characters: False ### -PassThru +When using the **PassThru** parameter, `Update-Script` outputs a **PSRepositoryItemInfo** object +for the script. + ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All)