I have a task that needs to run a batch file on regular users computers. I am trying to get this done as a service so I don't need to worry about password changes of the administrator account. During my research, I came across this article: https://blogs.technet.microsoft.com/askpfeplat/2012/12/16/windows-server-2012-group-managed-service-...
It shows the process for making a gMSA account. That part works fine. Later in the article, it talks about needing to use powershell to setup the task. I was wondering if that is going to be the best way. I had a hard time finding the right article online showing how to use powershell to run a scheduled task. Any thoughts?