For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

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.

PARAMETERS

-Enabled

Whether the URL redirection will be enabled or disabled.

-URL

The URL to redirect or not.

-Action

The redirect action type.

Possible values: DoNotRedirect, Redirect

Type reference: RedirectActionType

-SiteId

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

Last updated