< Back
Add-PodeEndware
Post
NAME Add-PodeEndware
SYNOPSIS
Adds a ScriptBlock as Endware to run at the end of each web Request.
SYNTAX
Add-PodeEndware [-ScriptBlock] <ScriptBlock> [[-ArgumentList] <Object[]>] [<CommonParameters>]
DESCRIPTION
Adds a ScriptBlock as Endware to run at the end of each web Request.
PARAMETERS
-ScriptBlock <ScriptBlock>
The ScriptBlock to add. It will be supplied the current web event.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ArgumentList <Object[]>
An array of arguments to supply to the Endware's ScriptBlock.
Required? false
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PodeEndware -ScriptBlock { /* logic */ }
RELATED LINKS
SYNOPSIS
Adds a ScriptBlock as Endware to run at the end of each web Request.
SYNTAX
Add-PodeEndware [-ScriptBlock] <ScriptBlock> [[-ArgumentList] <Object[]>] [<CommonParameters>]
DESCRIPTION
Adds a ScriptBlock as Endware to run at the end of each web Request.
PARAMETERS
-ScriptBlock <ScriptBlock>
The ScriptBlock to add. It will be supplied the current web event.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ArgumentList <Object[]>
An array of arguments to supply to the Endware's ScriptBlock.
Required? false
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PodeEndware -ScriptBlock { /* logic */ }
RELATED LINKS