How do you call msdeploy from powershell when the parameters have spaces?
Using the technique from Keith’s answer to How to run exe in powershell with parameters with spaces and quotes question you linked to, running echoargs -verb:dump -source:appHostConfig=$sitename -verbose gave me this output: Arg 0 is <-verb:dump> Arg 1 is <-source:appHostConfig=default> Arg 2 is <web> Arg 3 is <site> Arg 4 is <-verbose> This would explain … Read more