Execute-Process -Arguements issue

Topics: Archive - General
Mar 6, 2014 at 6:39 PM
Running Execute-Process and any variables that are put into -Arguements aren't expanded, they appear to be taken literally as strings. So things like $scriptsDirectory\files\blah is passed to the process as $scriptsDirectory\files\blah rather than c:\temp\files\blah

Working directory however.
Coordinator
Mar 7, 2014 at 2:16 PM
Can you try something for me? Replace with $($scriptsDirectory)\Files\Blah and see if that works

Thanks, Dan
Apr 5, 2014 at 10:52 PM
Hi Dan,

That took care of it