Skip to content

New-PSULoginPageLink

SYNOPSIS

Creates a new link on the login page.

SYNTAX

New-PSULoginPageLink -Text <String> -Url <String> [<CommonParameters>]

DESCRIPTION

Creates a new link on the login page. Use in conjunction with New-PSULoginPage.

EXAMPLES

Example 1

$LoginPage = @{
    Links = @(
        New-PSULoginPageLink -Text 'Google' -Url 'http://www.google.com'
        New-PSULoginPageLink -Text 'Microsoft' -Url 'http://www.microsoft.com'
    )
}

New-PSULoginPage @LoginPage

Creates a login page with two links.

PARAMETERS

-Text

The text of the link.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

The URL the link should go to.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

System.Object

NOTES

Back to top