File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
reference/docs-conceptual/gallery/how-to/getting-support Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,26 @@ title: Troubleshooting cmdlets
8
8
9
9
## How to resolve "WARNING: Package 'your package name' failed to download" issue
10
10
11
- It is reported that ` Install-Module ` or ` Update-Module ` sometimes fails on some machines.
12
- Based on our investigation, it is something to do with the networking connection.
13
- Recently we updated NuGet provider so that it can reliably download packages.
14
- You can follow the instructions below to install the latest build of NuGet provider and then install or update your module.
15
- Let's use 'Azure' module as an example below.
11
+ It is reported that ` Install-Module ` or ` Update-Module ` sometimes fails on some machines. Based on
12
+ our investigation, it is something to do with the networking connection. Recently we updated NuGet
13
+ provider so that it can reliably download packages. You can follow the instructions below to install
14
+ the latest build of NuGet provider and then install or update your module. Let's use 'Azure' module
15
+ as an example below.
16
16
17
17
``` powershell
18
18
Install-PackageProvider NuGet -MinimumVersion 2.8.5.206 -Force
19
19
Launch new PowerShell Console
20
20
Update-Module Azure -Verbose
21
21
```
22
+
23
+ ### Required network endpoints
24
+
25
+ The Install and Update cmdlets require internet access to connect to the network endpoints used by
26
+ by the PowerShell Gallery. Ensure that your network access policies allow you to connect to the
27
+ following endpoints.
28
+
29
+ - oneget.org
30
+ - go.microsoft.com
31
+ - az818661.vo.msecnd.net
32
+ - www.powershellgallery.com
33
+ - devopsgallerystorage.blob.core.windows.net
You can’t perform that action at this time.
0 commit comments