Functions/Scripting/New-StepTimer.ps1

Function New-StepTimer
    {
    [CmdletBinding()]
    Param
        (
        # Starting Step Description
        [Parameter(Mandatory=$False)]
        [String]
        $StartStepDescription
        )

    # Instantiate New ArrayList to act as a steptimer
    $StepTimer = [System.Collections.ArrayList]::New()
    Add-StepTime -StepNum 0 -StepDescription $StartStepDescription -StepTimer $StepTimer
    return ,[System.Collections.ArrayList]$StepTimer
    }