Skip to content

Instantly share code, notes, and snippets.

View vienleidl's full-sized avatar

Vien vienleidl

  • 00:41 (UTC +07:00)
View GitHub Profile
@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