Powershell 2.0 Hang When Run From MsDeploy pre- post- ops using c/
- by SonOfNun
I am trying to invoke powershell during the preSync call in a MSDeploy command, but powershell does not exit the process after it has been called.
The command (from command line):
"tools/MSDeploy/msdeploy.exe" -verb:sync -preSync:runCommand="powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command…