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

Invoke-UDRedirect

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

Whether to open the URL in a new window.

-Native

Performs a native redirect. This is useful when using relative paths that aren't part of the dashboard.

Common parameters

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

Outputs

Examples

Example 1: Redirect

Redirects the user to another page.

Example 2: Redirect in New Window

Redirects the user to another page in a new window.

Example 3: Native Redirect

Performs a native redirect.

Last updated

Was this helpful?