Add-RASURLRedirectionEntry
Last updated
Last updated
Add-RASURLRedirectionEntry
Adds a URL redirection entry.
Add-RASURLRedirectionEntry - <string> [- {DoNotRedirect | Redirect}] [- <bool>] [- <uint>] [<>]
Adds a URL redirection to the URL redirection settings list for the current site.
-Enabled <bool> Whether the URL redirection will be enabled or disabled.
-URL <string> The URL to redirect or not.
-SiteId <uint> Site ID in which to modify the specified URL redirection settings.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ---------- Add-RASURLRedirectionEntry -URL test.com Adds a URL redirection for test.com to the URL redirection settings list for the current site.
-Action <> The redirect action type. Possible values: DoNotRedirect, Redirect