Question : start-process pwsh
Answered by : jan-ustr
Start-Process pwsh.exe '-c', { 'Hello World.' Read-Host
}
Source : https://stackoverflow.com/questions/66831986/why-does-pwsh-exe-in-combination-with-start-process-not-accept-a-script-block-di | Last Update : Sun, 22 May 22