Skip to content

Get-PodeEvent

SYNOPSIS

Retrieves one or more events of a specified Type.

SYNTAX

Get-PodeEvent [-Type] <PodeServerEventType[]> [[-Name] <String[]>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Retrieves one or more events of a specified Type, and optionally by Name.

EXAMPLES

EXAMPLE 1

Get-PodeEvent -Type Start -Name 'Event1'

EXAMPLE 2

Get-PodeEvent -Type Start, Stop

EXAMPLE 3

Get-PodeEvent -Type Start, Stop -Name 'Event1', 'Event2'

PARAMETERS

-Name

AN optional list of event Names to retrieve.

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

-Type

One of more event Types to retrieve.

Type: PodeServerEventType[]
Parameter Sets: (All)
Aliases:
Accepted values: Start, Starting, Terminate, Restarting, Restart, Browser, Crash, Stop, Running, Suspending, Suspend, Resuming, Resume, Enable, Disable

Required: True
Position: 1
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