Skip to content

Instantly share code, notes, and snippets.

View TheRickOlson's full-sized avatar

TheRickOlson

View GitHub Profile
@TheRickOlson
TheRickOlson / Get-Uptime.ps1
Last active February 10, 2016 22:26
January 2016 Script Puzzle
<#
.SYNOPSIS
Gets the uptime of one or more computers.
.PARAMETER Name
The name of the computer(s) that you want to run this command against. By default it will run against the local machine. You can pass multiple computers separated with comma, or pass objects to it via the pipe.
.EXAMPLE
Get-Uptime