Skip to content

Get-PodeRoute

SYNOPSIS

Get a Route(s).

SYNTAX

Get-PodeRoute [[-Method] <String>] [[-Path] <String>] [[-EndpointName] <String[]>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Get a Route(s).

EXAMPLES

EXAMPLE 1

Get-PodeRoute -Method Get -Path '/about'

EXAMPLE 2

Get-PodeRoute -Method Post -Path '/users/:userId' -EndpointName User

PARAMETERS

-EndpointName

The name of an endpoint to filter routes.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-Method

A Method to filter the routes.

Type: String
Parameter Sets: (All)
Aliases:

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

-Path

A Path to filter the routes.

Type: String
Parameter Sets: (All)
Aliases:

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
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

OUTPUTS

System.Object[]

NOTES