FollowRedirects Parameter (Get-HTTP Cmdlet)

Determines what happens when the server issues a redirect.

Syntax

Get-HTTP -FollowRedirects string

Remarks

Possible values are:

NeverNever follow a server redirect.
Always Always follow a server redirect.
SameSchemeOnly 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

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 7877]