Skip to content

Add Runtime (Timespan) property to Microsoft.PowerShell.Commands.HistoryInfo #4181

@powercode

Description

@powercode

As is, we have StartExecutionTime and EndExecutionTime.

We should add a property, RunTime defined as EndExecutionTime - StartExecutionTime, since at least in my experience, I am more concerned with how long a command took to execute than when it ran.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions