Skip to content

Commit d28e3e0

Browse files
committed
Fix include
1 parent edaccbf commit d28e3e0

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

powershell-gallery/docs-conceptual/how-to/getting-support/troubleshooting-cmdlets.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,24 @@ title: Troubleshooting cmdlets
77

88
## How to resolve "WARNING: Package 'your package name' failed to download" issue
99

10-
It is reported that `Install-Module` or `Update-Module` sometimes fails on some machines. Based on
11-
our investigation, it is something to do with the networking connection. Recently we updated NuGet
12-
provider so that it can reliably download packages. You can follow the instructions below to install
13-
the latest build of NuGet provider and then install or update your module. Let's use 'Azure' module
14-
as an example below.
10+
The `Install-Module` or `Update-Module` commands sometimes fail. Based on investigations, it's
11+
usually a networking problem. Ensure that you are using TLS 1.2 or higher and that your firewall
12+
rules allow access to the required network endpoints.
13+
14+
[!INCLUDE [TLS 1.2 Requirement](../../../includes/tls-gallery.md)]
15+
16+
The NuGet provider was updated to improve reliably. Use the following instructions to install the
17+
latest build of NuGet provider and then install or update your module.
1518

1619
```powershell
1720
Install-PackageProvider NuGet -MinimumVersion 2.8.5.206 -Force
18-
Launch new PowerShell Console
19-
Update-Module Azure -Verbose
2021
```
2122

2223
## Required network endpoints
2324

2425
The `Install-*` and `Update-*` cmdlets require internet access to connect to the network endpoints
2526
used by the PowerShell Gallery.
2627

27-
[!INCLUDE [TLS 1.2 Requirement](../includes/tls-gallery.md)]
28-
2928
Ensure that your network access policies allow you to connect to TCP port 443 of the following
3029
endpoints.
3130

0 commit comments

Comments
 (0)