bat file to run ps1 files from cmd
@@ -0,0 +1,2 @@
+%windir%\system32\WindowsPowerShell\v1.0\powershell.exe Unblock-File .\file_to_run.ps1
+%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted .\file_to_run.ps1
Powered by TurnKey Linux.