I cant correctly insert the string i need as value,
I have this line of code replacing a value in a xml file:
$XML.Task.Actions.Arguments = '-File `"' + $RootDir + '\' + $Folderpath + "\RunningTasks\workScheduler.ps1"`"
I want it to replace the value with this: -File "C:\Workstation\Delivery\RunningTasks\workScheduler.ps1"
But i cant get the correct format in the way that the " characters are correct formatted.
Anyone that could point me in the correct direction? I have tried for a few days now :/
//Cheers