how to create schedule task using powershell?

windows 7 or less

if you dont have TaskScheduler module installed on your system or if you are running windows 7 or less version then you might have to use old commands

replace task schedule, name , script file with correct data before use**

[gistpen id=”406″]

windows 8 or higher

If you are running windows 8 or higher version then use below code:

[gistpen id=”409″]

(Visited 1 times, 1 visits today)

By Arun Sabale

Arun is a Solution Architect on enterprise client management with more than 14 years of experience in IT. Arun Sabale is Blogger and tech enthusiast. His main focus is on Azure cloud infra, Cloud automation with powershell, python, ARM terraform and all cloud infra services like compute, storage, network, automation, function api etc... LinkedIN -

Comments are closed.