-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExecutionPolicy security #4
Comments
I confirm this. Also added this into the argument, as it would bypass the script for this instance only. |
Hi @DeltaNachos, @Jeyd02 |
This is what I have in task scheduler as my 2nd action |
I will add this change in the coming days if not too busy. |
When adding this line to the scheduled task, how to revert the execution in PowerShell if its already made? |
Hey @momorious ! To revert the ExecutionPolicy back to default run this command as Admin in Powershell:
or
|
FYI, it's also possible to use Python to generate a toast pretty easily, I'll leave it here in case anyone prefers to do it this way. Install win11toast (https://github.com/GitHub30/win11toast) Create a script as follows in your PBO2 Tuner directory (e.g.
The example icon I'm using is from this site: https://icons8.com/icon/Q14IW6gC1Mgy/ryzen-controller. win11toast also supports using URLs directly. Add an action to your scheduled task to start your Customize as desired. |
Is it necessary to run in Unrestricted machine-wide?
I have found it works by adding the argument
-ExecutionPolicy Bypass
before my file path for the icon.The text was updated successfully, but these errors were encountered: