“Command”: “XRun”,
“Target”: "Powershell.exe ",
“Value”: “-executionpolicy bypass -File c:\test\test1.ps1
I see a lot of the tutorials and forum posts on here show the file path like above without quotes. I tried but this wouldn’t work for me. Whenever I tried the following it worked.
-executionpolicy bypass -File “c:\test\test1.ps1”
I’m curious if anyone knows why my powershell wouldn’t execute when the path had no quotes. And if you need quotes why are some people posting file paths without quotes on here?