Set-RASURLRedirectionSettings
Modifies URL redirection settings.
Set-RASURLRedirectionSettings [-DefaultAction {DoNotRedirect | Redirect}] [-Replicate <bool>] [-SiteId <uint>] [<CommonParameters>]
Modifies the active URL redirection settings for the current site.
-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>
-none-
---------- EXAMPLE 1 ---------- Set-RASURLRedirectionSettings -DefaultAction Redirect Modifies the default action of the URL redirection settings for the current site to Redirect.