Hi @Orion Maps
This is perfectly possible. Here's a guide for you to follow:
1) Open Task Scheduler and click on “Create a Task” to create a new task.
2) In the new panel which opens, fill the “General” tab to suit your needs.
3) Next, switch to the “Triggers” tab and choose “New”. Another Panel will open. At the top of this Panel, choose “On an event” from the drop-down menu.
4) Then choose “Custom” under Settings, and hit “New Event Filter”. Create a “Custom Event Filter” with:
Event Level: Information
Log Name: System
Source: Power-Troubleshooter
Event ID: 1
Task Scheduler Edit Events
5) That was the important part. Now switch to the Actions tab and choose the program you wish to run.
6) In Conditions tab, uncheck the option labeled “Start the task only if the computer is on AC power”.
7) Finally, save the task by clicking on OK.
I hope this answers your question.
Thanks.
--
--If the reply is helpful, please Upvote and Accept as answer--