"C:\Program Files\My PwScript\test.ps1"
You can use a bat file with the following :
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files\My PwScript\test.ps1"
and then run the bat file with Open/Program action.
Pass the file path in double quotes
Test comment: You can rename the folder name to have an underscore instead of space
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.