Skip to content

Instantly share code, notes, and snippets.

@vienleidl
vienleidl / Get-Uptime.ps1
Created August 12, 2022 09:37 — forked from morisy/Get-Uptime.ps1
Getting Computer Uptime Using PowerShell
#requires -version 2
<#
.SYNOPSIS
Outputs the last bootup time and uptime for one or more computers.
.DESCRIPTION
Outputs the last bootup time and uptime for one or more computers.
.PARAMETER ComputerName