You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Runtime (Timespan) property to Microsoft.PowerShell.Commands.HistoryInfo #4181
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-Cmdletsgeneral cmdlet issues
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.
Seems like we can just use ETS to add a RunTime property and perhaps consider updating get-history formatting to include runtime by default as a column
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-Cmdletsgeneral cmdlet issues
Activity
SteveL-MSFT commentedon Jul 5, 2017
Seems like we can just use ETS to add a
RunTimeproperty and perhaps consider updatingget-historyformatting to include runtime by default as a columnlzybkr commentedon Jul 7, 2017
Kirk Munro (@KirkMunro) adds the property
Durationin HistoryPx. I believe he was considering integrating his ideas in HistoryPx into PowerShell Core.powercode commentedon Jul 10, 2017
Steve Lee (@SteveL-MSFT) Would that be easier than to add the property in code?
SteveL-MSFT commentedon Jul 14, 2017
Staffan Gustafsson (@powercode) personally, I'm fine either way