[lang-ref] ( get_executed_interpreter_path ) ( powershell )

It 'should get executed interpreter path' {
    # (Get-Process -Id $PID).Path

    $path = (Get-Process -Id $PID).Path

    $path.ToLower() | Should -Match 'powershell(.exe)?$'
}