Im trying to run a powershell script with parameters in psadt and im running into the following error: ERROR Inner Expection(s)
Execute-Process -Path "$PSHOME\powershell.exe" -Parameters "file "$dirFiles\powershellscript.ps1""
but when I run it like this it works perfectly
Execute-Process -Path "$PSHOME\powershell.exe" -Parameters "file `"$dirFiles\powershellscript.ps1`""
what am I doing wrong here?