how to create schedule task using powershell

How To Powershell

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 3 times, 1 visits today)

Comments are closed.