Run Tasks on Timers in PowerShell

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 11

  • @manjubeli
    @manjubeli 3 года назад

    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.

  • @immanuelsuleiman7550
    @immanuelsuleiman7550 3 года назад

    potential uses for this are infinite
    very informative
    thank you

  • @GuidoOliveira
    @GuidoOliveira 3 года назад +1

    Way to go Trevor! Great stuff!

  • @NanoTLG
    @NanoTLG 3 года назад

    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

  • @Rudragoud_Maasareddy
    @Rudragoud_Maasareddy 3 года назад

    If the powershwll ise is closed then..does the script execution stops?

  • @saiprasadvaddepally762
    @saiprasadvaddepally762 3 года назад

    Great content - thank you!

  • @MilestoneShivamVlogs
    @MilestoneShivamVlogs 3 года назад

    Could you help, how can i collect logs in powershell for copy function

  • @michielthai9995
    @michielthai9995 3 года назад

    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?

    • @RobMoerland
      @RobMoerland 3 года назад

      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.