So I\'ve tried a bunch of different ways to run a powershell script from the command line and every single one returns an error.
Here is this path:
In your examples, you're mixing quotes and double quoting for no reason.
IF EXIST "C:\Users\test\Documents\test\line space\PS Script\test.ps1" ( powershell -ExecutionPolicy Unrestricted -File "C:\Users\test\Documents\test\line space\PS Script\test.ps1" )