FollowRedirects Parameter (Get-HTTP Cmdlet)
Determines what happens when the server issues a redirect.
Syntax
Get-HTTP -FollowRedirects string
Remarks
Possible values are:
Never | Never follow a server redirect. |
Always | Always follow a server redirect. |
SameScheme | Only follow a server redirect if the scheme is the same as the original URL, otherwise an error is raised. |
Default is to always follow server redirects.
Default Value
1