< Back
Get-PodeFlashMessage
Post
NAME Get-PodeFlashMessage
SYNOPSIS
Returns all flash messages stored against a name, and the clears the messages.
SYNTAX
Get-PodeFlashMessage [-Name] <String> [<CommonParameters>]
DESCRIPTION
Returns all of the flash messages, as an array, currently stored for the name within the session.
Once retrieved, the messages are removed from storage.
PARAMETERS
-Name <String>
The name of the flash messages to return.
Required? true
Position? 1
Default value
Accept pipeline input? false
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).
INPUTS
OUTPUTS
System.String[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PodeFlashMessage -Name 'error'
RELATED LINKS
SYNOPSIS
Returns all flash messages stored against a name, and the clears the messages.
SYNTAX
Get-PodeFlashMessage [-Name] <String> [<CommonParameters>]
DESCRIPTION
Returns all of the flash messages, as an array, currently stored for the name within the session.
Once retrieved, the messages are removed from storage.
PARAMETERS
-Name <String>
The name of the flash messages to return.
Required? true
Position? 1
Default value
Accept pipeline input? false
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).
INPUTS
OUTPUTS
System.String[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PodeFlashMessage -Name 'error'
RELATED LINKS