Timeline for Unable to create task in task scheduler using PowerShell
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 14, 2017 at 21:31 | comment | added | Ansgar Wiechers |
Because it does the same thing as Get-Content -Raw .
|
|
Feb 14, 2017 at 19:10 | comment | added | Technext |
Your suggestion worked fine Ansgar. Thanks a lot for the explanation. :) BTW, when i was looking for solution, i also came across this command: $sch_task_action = [IO.File]::ReadAllText("C:\automation\sch_task_action_final.conf") but this too failed with the same error. Any idea why?
|
|
Feb 14, 2017 at 18:58 | vote | accept | Technext | ||
Feb 14, 2017 at 13:03 | history | edited | Ansgar Wiechers | CC BY-SA 3.0 |
expanded answer
|
Feb 14, 2017 at 12:57 | history | answered | Ansgar Wiechers | CC BY-SA 3.0 |