I'm really new to poweshell.... I need to execute a filename and I've found I've to call it via & but my arguments have a space inside and the shell thrats is a new parameter...
I'm tring to update a WPF clickonce document
my params are like
$params = ' -update "' + $c + $applicationName + '.exe.manifest" 
and it outputs
-update "C:\inetpub\wwwroot\t2\Application Files\clickoncetest_1_0_0_8\clickoncetest.exe.manifest"
at this point it's fine..but as soon as I try to run mage for signing I got an error telling Files is an urecognized argument I call this as
 &C:\deploy\mage.exe -update "$params"
As you can see I've wrapped $params between " " but it seems not to be enought...what am I doing wrong?
Thanks