Set-RASURLRedirectionSettings

NAME

Set-RASURLRedirectionSettings

SYNOPSIS

Modifies URL redirection settings.

SYNTAX

Set-RASURLRedirectionSettings [-DefaultAction {DoNotRedirect | Redirect}] [-Replicate <bool>] [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Modifies the active URL redirection settings for the current site.

PARAMETERS

-DefaultAction <RedirectActionType> Whether the default action is to redirect or not. Possible values: DoNotRedirect, Redirect

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Replicate <bool> Whether the 'Replicate Settings' option is enabled or not.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint> Site ID in which to modify the specified URL redirection settings.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>

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

INPUTS

-none-

OUTPUTS

URLRedirectionSettings

EXAMPLES

---------- EXAMPLE 1 ---------- Set-RASURLRedirectionSettings -DefaultAction Redirect Modifies the default action of the URL redirection settings for the current site to Redirect.

Last updated

© 2024 Parallels International GmbH. All rights reserved.