Set-RASURLRedirectionSettings
NAME
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.
PARAMETERS
-DefaultAction <RedirectActionType> Whether the default action is to redirect or not.
Possible values: DoNotRedirect, Redirect
-Replicate <bool> Whether the 'Replicate Settings' option is enabled or not.
-SiteId <uint> Site ID in which to modify the specified URL redirection settings.
<CommonParameters>
INPUTS
-none-
OUTPUTS
EXAMPLES
---------- EXAMPLE 1 ----------
Set-RASURLRedirectionSettings -DefaultAction Redirect
Modifies the default action of the URL redirection settings for the current site to Redirect.
RELATED LINKS
Remove-Remove-RASURLRedirectionEntry
Last updated