I want to run a PowerShell as admin located in c:\path\runme.ps1 I am uploading this file to endpoint it needs to be ran on. I have tried a couple other scripts that take commands and make a ps1 in temp and run but they are not functioning as expected. I’m trying to use a PowerShell script to create a scheduled task. When I run PS as admin call the ps1 it works as expected. when I try it through a procedure it says created the task but the task is in fact not there.
hi @PremJKumar
could you please look into this request.
Hi @steve ,
From your request, I understood that you want to create a Task scheduler using a PowerShell script, sorry if I misunderstood the request.
Please try this script and provide your feedback
https://scripts.xcitium.com/frontend/web/topic/task-scheduler-for-vbscriptpowershell-batchfile-wakupstart-application
Add your Powershell script here and select option 8.
Kind Regards,
PremJK