ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Creating Scheduled Task with Powershell - Using specific user account

    IT Discussion
    powershell windows 10 scripting chocolatey task scheduler
    5
    22
    8.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @wrx7m
      last edited by

      @wrx7m said in Creating Scheduled Task with Powershell - Using specific user account:

      @obsolesce said in Creating Scheduled Task with Powershell - Using specific user account:

      I know this post is old, but I've found doing scheduled tasks with SaltStack is insanely simple and very effective lately... so much more than using MS Group Policy.

      https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_task.html

      I really want to get back into learning saltstack again.

      You can, in theory, use it to report and manage Windows Defender.

      1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce @wrx7m
        last edited by

        @wrx7m said in Creating Scheduled Task with Powershell - Using specific user account:

        @obsolesce said in Creating Scheduled Task with Powershell - Using specific user account:

        I know this post is old, but I've found doing scheduled tasks with SaltStack is insanely simple and very effective lately... so much more than using MS Group Policy.

        https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_task.html

        I really want to get back into learning saltstack again.

        Here's an example of a task that goes to all minions it's supposed to go to... and it "just works". No AD required.
        Also, using SaltStack to sync that .ps1 it runs from GitLab:

        0_1525903964206_a7c132dd-863e-484e-a947-e291f463a810-image.png

        1 Reply Last reply Reply Quote 3
        • 1
        • 2
        • 2 / 2
        • First post
          Last post