Private/Initialize/Get-CurrentLineNumber.ps1

function Get-CurrentLineNumber {
    [Alias('LINENUM')]
    param()
    $MyInvocation.ScriptLineNumber
}