
Test: Enter-PSHostProcess tests.By Process Id.Can enter using NamedPipeConnectionInfo
Priority: 0
Test file: not available
Machine: fv-az379
Tested build: PR-8964-20190223.01
Error message: Exception calling "Invoke" with "0" argument(s): "The runspace state is not valid for this operation."
Stack trace:
at , D:\a\1\s\test\powershell\Modules\Microsoft.PowerShell.Core\Enter-PSHostProcess.Tests.ps1: line 58 58: $ps.AddScript('$pid').Invoke() | Should -Be $pwsh.Id