Getting commands and parameters in Powershell and Psake can be pretty troublesome at times. The echoargs helper from the PowerShell Community Extensions can be a lifesaver. If, for instance, you are calling
msbuild.exe /t:Build /p:SomeTroublesomeParametersHereif you swap msbuild for echoargs (after placing the extensions in C:\Windows\System32\WindowsPowerShell\v1.0\Modules and callingĀ Import-ModuleĀ pscx), then you’ll see the exact parameters being passed to … Read more “Debugging Powershell and Psake commands and parameters”