Brilliant video, subscribed! Few suggestions, 1. Zoom in or increase font size so text is clearly visible (especially on mobile screens). 2. You did not dispose or stop the timer. Explanation on how to gracefully stop the timer would be helpful. Thank you for great video.
Tanks allot, i need to make sure a service stays stopped for an specific amount of time , and this will enable me to monitor its stopped state and enforce it gets stopped if someone or something tries to start it. and this will help allot
if you are going to use task scheduler to perform a timer based task, why not just schedule a script using the task scheduler triggers? whats the advantage of using timers?
Task Scheduler gets crazy when you start the task with a few seconds interval. Timer events otoh are weird for intervals of hours / days / weeks. Task Scheduler job definitions will survive a reboot, a running timer job will disappear like all running applications.
Brilliant video, subscribed!
Few suggestions,
1. Zoom in or increase font size so text is clearly visible (especially on mobile screens).
2. You did not dispose or stop the timer. Explanation on how to gracefully stop the timer would be helpful.
Thank you for great video.
potential uses for this are infinite
very informative
thank you
Way to go Trevor! Great stuff!
Tanks allot, i need to make sure a service stays stopped for an specific amount of time , and this will enable me to monitor its stopped state and enforce it gets stopped if someone or something tries to start it. and this will help allot
If the powershwll ise is closed then..does the script execution stops?
Great content - thank you!
Could you help, how can i collect logs in powershell for copy function
if you are going to use task scheduler to perform a timer based task, why not just schedule a script using the task scheduler triggers? whats the advantage of using timers?
Task Scheduler gets crazy when you start the task with a few seconds interval. Timer events otoh are weird for intervals of hours / days / weeks.
Task Scheduler job definitions will survive a reboot, a running timer job will disappear like all running applications.