Solved Creating Scheduled Task with Powershell - Using specific user account
-
@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.
-
@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: