Skip to content

Instantly share code, notes, and snippets.

@arabha123
arabha123 / Answer-ScriptingGames2016.ps1
Last active January 15, 2016 12:41
January 2016 Scripting Games Challenge
Function Get-Uptime{
[Cmdletbinding()]
Param (
[Parameter(ValueFromPipeline=$true)]
[ValidateNotNullorEmpty()]
[String[]]$ComputerName = $Env:COMPUTERNAME
)
BEGIN{
#
$UptimeReport = @()