Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand 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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading