PSParallel icon indicating copy to clipboard operation
PSParallel copied to clipboard

Invoke-Parallel + remote PS session + Write-Host

Open avishnyakov opened this issue 8 years ago • 0 comments

Hello team,

having the following issue while using Invoke-Parallel + remote PS session + Write-Host

Invoke-Parallel : A command that prompts the user failed because the host program or the command type does not support user 
interaction. Try a host program that supports user interaction, such as the Windows PowerShell Console or Windows PowerShell ISE, 
and remove prompt-related commands from command types that do not support user interaction, such as Windows PowerShell workflows.

What would be the better way to capture trace from the scripts executed in a remote PS session?

avishnyakov avatar May 12 '16 07:05 avishnyakov