![]() Type the script path in the “Add arguments” field.Type the below path in the “Program/Script field.”.Choose the “Start a program” option and click “Next.”.Choose “When I log on” and click “Next.”.Name the new scheduled task and click “Next.”.Open the Task Scheduler from the Start menu.Here are the steps to schedule a PowerShell script with Task Scheduler in Windows 10 and 11. ![]() Schedule PowerShell Script with Task Scheduler The steps shown will work in Windows 10 and 11. Note: I assume that you already have a PowerShell script to schedule and set an acceptable execution policy to execute PowerShell scripts. So, let me show you how to launch a PowerShell script on schedule using the Task Scheduler. That is one less thing I need to do every day. ![]() However, I don’t have to run the script manually by scheduling the PowerShell script to launch at the system log on. Generally, I used to execute the script as and when needed manually. For instance, I have a custom PowerShell script that checks for all available Windows updates and lists their KB (knowledge base) number, name, and download size. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |