Hi,
I've been trying to run the following command line from a Powershell build script we have; but keep running into issues
& 'C:\Dev\Yadda\trunk\BuildScripts\U tilities\csmanage.exe' `
/create-deployment `
/name:yadddayaddyaddadev `
/label:yadddayaddyaddadev `
/package:https://yadddayaddyadda.blob.core.windows.net/mydeployments/20100426_202848_FamilyMoments.cspkg `
/config:C:\Dev\WalmartOne\trunk\yadddayaddyadda.CloudService\bin\Debug\ServiceConfiguration.cscfg `
/slot:Staging `
/hosted-service:yadddayaddyadda-dev"
Note: the space in "Utilities" is intentional; trying to snif out a bug involving spaces in the executable path. I assure you, the path does exist with the space in it on my machine.
What's the best way to call this command line from Powershell? I've tried Invoke-Expression, Diagnostic.Process::Start, &; each method coming up with some different type of error; usually that it could find the executable. Any constructive input is greatly appreciated.
Thanks.