module/tools/test.ps1
Param( [Parameter()][Switch]$Run ) if ($Run) { & $PSScriptRoot/../../tools/build.ps1 Import-Module $PSScriptRoot/../../cbsch-pslib.psd1 "Running as [{0}]" -f $pid | Out-Host Find-Mail -Path (Resolve-Path ~/temp/mail) } else { pwsh -nop -f $MyInvocation.InvocationName -Run } |