Added help comments to make Pester tests pass

This commit is contained in:
KevinMarquette
2017-02-02 19:46:24 -08:00
parent ef4ca536ee
commit 9baca4a605

View File

@@ -1,10 +1,21 @@
function Get-Chronometer 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()] [CmdletBinding()]
param( param(
# Script file to measure execution times on
[string[]] [string[]]
$Path, $Path,
# The script to start the scrupt or execute other commands
[scriptblock] [scriptblock]
$CommandScript $CommandScript
) )