Product, version and build: powershell module 2021, v 1.1.11
Operating system: windows 10 pro
PowerShell version(s): 5.1
I have access to the internet via Webproxy. IE is up and running. But when running the program I get the error:
WARNING: Unable to detect an internet connection. If the current repository in Options is an online source, then functionality may be limited. Please check your network connection.
How can i configure webproxy to receive module updates?
internet via Webproxy
Forum rules
DO NOT POST LICENSE NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: internet via Webproxy
The best place to start is to check that PowerShellGet is working from your console.
Not knowing what type of proxy you have, the minimum to have is to add
https://www.powershellgallery.com/api/v2
to the URLs allowed by your proxy. If you use another repository than the default PowerShell Gallery, please use that URL accordingly.
Not knowing what type of proxy you have, the minimum to have is to add
https://www.powershellgallery.com/api/v2
to the URLs allowed by your proxy. If you use another repository than the default PowerShell Gallery, please use that URL accordingly.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 4
- Last visit: Fri Oct 08, 2021 3:29 am
Re: internet via Webproxy
For the console, I created a profile and added to it:
Otherwise, it did not work to get powershell to work.
If there are alternative solutions, I will be very glad to hear.
Netsh for powershell also failed to configure.
- [System.Net.WebRequest]::DefaultWebProxy = New-Object System.Net.WebProxy('MyInternalWebProxy')
- [System.Net.WebRequest]::DefaultWebProxy.BypassProxyOnLocal = $true
If there are alternative solutions, I will be very glad to hear.
Netsh for powershell also failed to configure.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: internet via Webproxy
I will consult with the development team. Please stand by. This may take a little bit to research.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 4
- Last visit: Fri Oct 08, 2021 3:29 am
Re: internet via Webproxy
Is it possible in powerstudio to use a profile file like in powershell ise?
Re: internet via Webproxy
Please post this question as a new topic in the correct forum.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 4
- Last visit: Fri Oct 08, 2021 3:29 am
Re: internet via Webproxy
On which forum?
I have a question about working with modules through the PowerShell ModuleManager through a corporate proxy server.
Re: internet via Webproxy
My apologies for the confusion. I was referring to this question:
If you are posting about PowerShell Studio, then please post in this forum:
viewforum.php?f=12
PowerShell ModuleManager does not use profiles, but you are welcome to make a feature request:
https://www.sapien.com/requests
If you are posting about PowerShell ModuleManager, then this is the correct forum.Is it possible in powerstudio to use a profile file like in powershell ise?
If you are posting about PowerShell Studio, then please post in this forum:
viewforum.php?f=12
PowerShell ModuleManager does not use profiles, but you are welcome to make a feature request:
https://www.sapien.com/requests
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.