Need Help with Scheduled Task to Remove Mail App

  • Thread starter Thread starter James Doucette
  • Start date Start date
J

James Doucette

Guest
I created a task that executes a PowerShell script from the local computer with the following parameters:1. General: System account, "run whether user is logged on or not", Run with highest privileges2. Triggers: At log on of any user, At system startup3. Actions: Start a program, [program/script] C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe, [arguments] -ExecutionPolicy Bypass c:\software\ShredMailAppX\ShredMailAppX.ps1[start in] have tried <blank> and C:\Windows\System32\WindowsPowerShell\v1.0 and c:\software\ShredMailAppXContents of script PS1 = Get-appxpackage *windowsc

Continue reading...
 
Back
Top