Skip to content

Implement Get-Uptime and present uniform system uptime statistics across platforms #2277

@snobu

Description

@snobu

I feel it's high time to add a native Get-Uptime cmdlet and present uniform system uptime statistics across all supported platforms:

Example:
https://www.powershellgallery.com/packages/get-uptime/1.1/Content/get-uptime.ps1

Which returns:
12:37:27 AM up 0 days, 4 hours, 26 minutes, 8 seconds

We should also have a -Seconds parameter, in case people want to pipe this through and quickly parse a long.

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-Cmdletsgeneral cmdlet issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions