Add-RASURLRedirectionEntry.md

NAME

Add-RASURLRedirectionEntry

SYNOPSIS

Adds a URL redirection entry.

SYNTAX

**Add-RASURLRedirectionEntry -URL (string) [-Action {DoNotRedirect | Redirect}] [Enabled (bool)] [SiteId (uint)] [(CommonParameters)]

DESCRIPTION

Adds a URL redirection to the URL redirection settings list for the current site.

PARAMETERS

Enabled (bool)

Whether the URL redirection will be enabled or disabled.

URL (string)

The URL to redirect or not.

The redirect action type.

Possible values: DoNotRedirect, Redirect

SiteId (uint)

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

(CommonParameters)

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

**---------- EXAMPLE 1 ----------

Add-RASURLRedirectionEntry -URL test.com

Adds a URL redirection for test.com to the URL redirection settings list for the current site.

Last updated