I wrote a simple batch file as a PowerShell script, and I am getting errors when they run.
It\'s in a scripts directory in my path. This is the error I get:
On Windows 10: Click change security property of myfile.ps1 and change "allow access" by right click / properties on myfile.ps1