IT and Engineer web site
Easy and quick blog post, here it is how to automate Task Scheduler Power Shell 7 scripts:
https://sid-500.com/2022/08/17/how-to-include-your-powershell-7-scripts-in-task-scheduler/