Kansa Core: Extract-ZipFile hangs if target exists
Closed this issue · 1 comments
jt-msft commented
If the target of -PushBin is an archive and the contents of that archive already exist on the target host, the call to shell.application.copyhere() hangs waiting for user confirmation to overwrite. Since this in non-interactive, it is impossible to acknowledge the prompt, leading to an infinite wait on the job.
This method has an override that allows the caller to pass options, so we need to modify this block to send "yes to all."