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

Invoke-UDRedirect

Redirect the user to another page.

Synopsis

Redirect the user to another page.

Syntax

Invoke-UDRedirect [-Url] <String> [-OpenInNewWindow] [-Native] [<CommonParameters>]

Description

Redirect the user to another page.

Parameters

-Url

The URL to redirect the user to.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

    -OpenInNewWindow [<SwitchParameter>]
        Whether to open the URL in a new window.

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

    -Native [<SwitchParameter>]
        Performs a native redirect. This is useful when using relative paths that aren't part of the dashboard.

Required?                    false
Position?                    named
Default value                False
Accept pipeline input?       false
Aliases
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 (https://go.microsoft.com/fwlink/?LinkID=113216).

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?