Powershell recovery task not starting a background job RRS feed

  • Question

  • Hello,

    I'm trying to start a background job inside of a recovery action on a agent

    The recovery starts fine , executes some code and is creating a background job using "Start-Job" cmdelt  without any error

    I can see the background job ID and state (running) but nothing is happening

    part of this job is to log an event ID but is not happening 

    If I'm running the PS script manually as localsystem is creating the background job and the job is running fine by logging that event ID



    Thursday, May 18, 2017 5:57 PM

All replies

  • Hello,

    Which runas account is used for this recovery task? I suggest you check whether the runas account can run the task manually. 


    Yan Li

    Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact

    Monday, June 5, 2017 8:40 AM