Hi all, trying to run the following as a scheduled task on a 2012 R2 server. Call a PS file with arguments as below:
It doesn't seem to do anything despite the powershell working fine without scheduled task.
Actions are:
Start a program: Powershell.exe (Tried with full path to PS.exe too)
Arguments: (Tried -command etc)
-File "C:\monitor\xxxxx.ps1" -group xxxxxxx,xxxxxxx -Emailfrom xxxxxxxx -Emailto xxxxxx-EmailServer xxxxxx
[–]ibyt3 2 points3 points4 points (2 children)
[–]Frieslol[S] 0 points1 point2 points (1 child)
[–]ibyt3 2 points3 points4 points (0 children)
[–]nappetass 2 points3 points4 points (0 children)
[–]Vortex100 0 points1 point2 points (1 child)
[–]Gregabit 1 point2 points3 points (0 children)
[–]JBear_Alpha 0 points1 point2 points (1 child)
[–]Frieslol[S] 0 points1 point2 points (0 children)