Skip to content

Commit 6e3464c

Browse files
committed
Fix missing parameter descriptions
1 parent e139716 commit 6e3464c

File tree

13 files changed

+40
-11
lines changed

13 files changed

+40
-11
lines changed

powershell-gallery/powershellget-1.x/PowerShellGet/Find-Script.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ Accept wildcard characters: False
199199
200200
### -Credential
201201
202+
Specifies a user account that has permission to access the repository to search for scripts.
203+
202204
```yaml
203205
Type: System.Management.Automation.PSCredential
204206
Parameter Sets: (All)

powershell-gallery/powershellget-1.x/PowerShellGet/Install-Script.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@ Accept wildcard characters: False
313313
314314
### -NoPathUpdate
315315
316+
By default, this command adds the install location of the script to the `$env:PATH` environment
317+
variable. When you use the **NoPathUpdate** switch, the command doesn't update the `$env:PATH`
318+
variable.
319+
316320
```yaml
317321
Type: System.Management.Automation.SwitchParameter
318322
Parameter Sets: (All)

powershell-gallery/powershellget-1.x/PowerShellGet/Publish-Script.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s
124124

125125
### -Credential
126126

127+
Specifies a user account that has rights to publish the script.
128+
127129
```yaml
128130
Type: System.Management.Automation.PSCredential
129131
Parameter Sets: (All)

powershell-gallery/powershellget-1.x/PowerShellGet/Set-PSRepository.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ URIs.
5050

5151
### -Credential
5252

53+
Specifies a user account that has rights to change the repository settings.
54+
5355
```yaml
5456
Type: System.Management.Automation.PSCredential
5557
Parameter Sets: (All)

powershell-gallery/powershellget-2.x/PowerShellGet/Find-Script.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ Accept wildcard characters: False
214214
215215
### -Credential
216216
217+
Specifies a user account that has permission to access the repository to search for scripts.
218+
217219
```yaml
218220
Type: System.Management.Automation.PSCredential
219221
Parameter Sets: (All)

powershell-gallery/powershellget-2.x/PowerShellGet/Install-Module.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ Accept wildcard characters: False
323323

324324
### -PassThru
325325

326+
When using the **PassThru** parameter, `Install-Module` outputs a **PSRepositoryItemInfo** object
327+
for the module.
328+
326329
```yaml
327330
Type: System.Management.Automation.SwitchParameter
328331
Parameter Sets: (All)

powershell-gallery/powershellget-2.x/PowerShellGet/Install-Script.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ Accept wildcard characters: False
344344
345345
### -NoPathUpdate
346346
347+
By default, this command adds the install location of the script to the `$env:PATH` environment
348+
variable. When you use the **NoPathUpdate** switch, the command doesn't update the `$env:PATH`
349+
variable.
350+
347351
```yaml
348352
Type: System.Management.Automation.SwitchParameter
349353
Parameter Sets: (All)
@@ -358,6 +362,9 @@ Accept wildcard characters: False
358362

359363
### -PassThru
360364

365+
When using the **PassThru** parameter, `Install-Script` outputs a **PSRepositoryItemInfo** object
366+
for the script.
367+
361368
```yaml
362369
Type: System.Management.Automation.SwitchParameter
363370
Parameter Sets: (All)

powershell-gallery/powershellget-2.x/PowerShellGet/Publish-Script.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ the script to the **LocalRepo1** repository. Finally. `Find-Script` is used to s
124124

125125
### -Credential
126126

127+
Specifies a user account that has rights to publish the script.
128+
127129
```yaml
128130
Type: System.Management.Automation.PSCredential
129131
Parameter Sets: (All)
@@ -273,17 +275,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
273275

274276
## NOTES
275277

276-
> [!IMPORTANT]
277-
> As of April 2020, the PowerShell Gallery no longer supports Transport Layer Security (TLS)
278-
> versions 1.0 and 1.1. If you are not using TLS 1.2 or higher, you will receive an error when
279-
> trying to access the PowerShell Gallery. Use the following command to ensure you are using TLS
280-
> 1.2:
281-
>
282-
> `[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12`
283-
>
284-
> For more information, see the
285-
> [announcement](https://devblogs.microsoft.com/powershell/powershell-gallery-tls-support/) in the
286-
> PowerShell blog.
278+
The PowerShell Gallery no longer supports Transport Layer Security (TLS) versions 1.0 and 1.1. You
279+
must use TLS 1.2 or higher. Use the following command to ensure you are using TLS 1.2:
280+
281+
`[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12`
287282

288283
## RELATED LINKS
289284

powershell-gallery/powershellget-2.x/PowerShellGet/Set-PSRepository.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ URIs.
5050

5151
### -Credential
5252

53+
Specifies a user account that has rights to change the repository settings.
54+
5355
```yaml
5456
Type: System.Management.Automation.PSCredential
5557
Parameter Sets: (All)

powershell-gallery/powershellget-2.x/PowerShellGet/Update-Script.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ Accept wildcard characters: False
150150

151151
### -PassThru
152152

153+
When using the **PassThru** parameter, `Update-Script` outputs a **PSRepositoryItemInfo** object
154+
for the script.
155+
153156
```yaml
154157
Type: System.Management.Automation.SwitchParameter
155158
Parameter Sets: (All)

0 commit comments

Comments
 (0)