From 9baca4a605acbc380db9383277159894b280d311 Mon Sep 17 00:00:00 2001 From: KevinMarquette Date: Thu, 2 Feb 2017 19:46:24 -0800 Subject: [PATCH] Added help comments to make Pester tests pass --- Chronometer/Public/Get-Chronometer.ps1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Chronometer/Public/Get-Chronometer.ps1 b/Chronometer/Public/Get-Chronometer.ps1 index 534a2b9..5846420 100644 --- a/Chronometer/Public/Get-Chronometer.ps1 +++ b/Chronometer/Public/Get-Chronometer.ps1 @@ -1,10 +1,21 @@ function Get-Chronometer { + <# + .Description + Loads a script and then tracks the line by line execution times + + .Example + Get-Chronometer -Path .\example.ps1 -Script { + .\example.ps1 + } + #> [CmdletBinding()] param( + # Script file to measure execution times on [string[]] $Path, + # The script to start the scrupt or execute other commands [scriptblock] $CommandScript )