< Back
Show-PromptLastCommandDuration
Post
NAME Show-PromptLastCommandDuration
SYNOPSIS
Show the during of the last executed command.
SYNTAX
Show-PromptLastCommandDuration [<CommonParameters>]
DESCRIPTION
Use the $MyInvocation variable and the Get-History to get the last
executed command and calculate the execution duration.
PARAMETERS
<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
RELATED LINKS
SYNOPSIS
Show the during of the last executed command.
SYNTAX
Show-PromptLastCommandDuration [<CommonParameters>]
DESCRIPTION
Use the $MyInvocation variable and the Get-History to get the last
executed command and calculate the execution duration.
PARAMETERS
<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
RELATED LINKS