Category "start-job"

Reuse 2 functions in Start-ThreadJob

Assuming Get-Foo and Get-Foo2 and Deploy-Jobs are 3 functions that are part of a very large module. I would like to use Get-Foo and Get-Foo2 in Deploy-Jobs's S

How to pass arguments to program when using variable as path

I'm trying to start a program in a Start-job scriptblock using a variable for the path. Here is the line: $using:plinkdir\plink.exe -telnet $using:ip -P $using:

How to suppress "keyboard-interactive" prompts in plink.exe

I have a PowerShell script that calls plink.exe regularly. Normally, the two output lines about keyboard-interactive prompts are simply annoying. However, when