We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need some help, this may not actually be a script issue.
the Following code errors when run in the script:
$ModuleContentUrl = (Invoke-WebRequest -Uri $ModuleContentUrl -MaximumRedirection 0 -UseBasicParsing -ErrorAction Ignore).Headers.Location
When it run's the parameter is set to the following: $ModuleContentUrl = "https://www.powershellgallery.com/api/v2/package/Az.Automation/1.3.5"
And we get the following error:
Invoke-WebRequest : Object moved Object moved to here.
At line:1 char:22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any guidance would be great.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need some help, this may not actually be a script issue.
the Following code errors when run in the script:
$ModuleContentUrl = (Invoke-WebRequest -Uri $ModuleContentUrl -MaximumRedirection 0 -UseBasicParsing -ErrorAction Ignore).Headers.Location
When it run's the parameter is set to the following:
$ModuleContentUrl = "https://www.powershellgallery.com/api/v2/package/Az.Automation/1.3.5"
And we get the following error:
Invoke-WebRequest : Object moved
Object moved to here.
At line:1 char:22
}:HttpRequestMessage) [Invoke-WebRequest], HttpResponseException
Any guidance would be great.
The text was updated successfully, but these errors were encountered: