Add-RASURLRedirectionEntry
Adds a URL redirection entry.
Add-RASURLRedirectionEntry -URL <string> [-Action {DoNotRedirect | Redirect}] [-Enabled <bool>] [-SiteId <uint>] [<CommonParameters>]
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.
-Action <RedirectActionType> The redirect action type. Possible values: DoNotRedirect, Redirect
-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.