Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-RASURLRedirectionSettings

SYNOPSIS

Modifies URL redirection settings.

SYNTAX

Set-RASURLRedirectionSettings [-DefaultAction {DoNotRedirect | Redirect}] [-Replicate <bool>]
 [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Modifies the active URL redirection settings for the current site.

EXAMPLES

Example 1

Set-RASURLRedirectionSettings -DefaultAction Redirect

Modifies the default action of the URL redirection settings for the current site to Redirect.

PARAMETERS

-DefaultAction

Whether the default action is to redirect or not.

Possible values: DoNotRedirect, Redirect

Type reference: RedirectActionType

-Replicate

Whether the 'Replicate Settings' option is enabled or not.

-SiteId

Site ID in which to modify the specified URL redirection settings.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

URLRedirectionSettings

Last updated