I am trying to use Exec to run msdeploy and having some issues. One of the parameters -source: has spaces in its value i.e.
Exec { $msdeploy -verb:sync -source:package=$package -dest:dest}
$package may have spaces in the path like c:\some data\package files\
How do I handle this?
--
You received this message because you are subscribed to the Google Groups "psake-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/psake-users/-/xWg3zlCUUPgJ.
To post to this group, send email to psake...@googlegroups.com.
To unsubscribe from this group, send email to psake-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/psake-users?hl=en.
try wrapping it with double quotes