Showing results for 
Search instead for 
Did you mean: 

PowerShell Take Jobs Off Hold

I need to take a group of jobs off hold. I'm looking for a way to do this via PoSH script, but have not yet stumbled across a feature to do this. Do you have any suggestions on how to do this?

I'm not sure how the jobs got put on hold. The Job Engine System Service stopped responding, don't know why. I would like to:

1) query which jobs have been suspended / superceded / are awaiting for the next Full Backup to run first.

2) if appropriate, reactivate the job

Thanks much - Ray

2 Replies

Re: PowerShell Take Jobs Off Hold

You can use Start_BEJob to start the jobs on hold.  There is also a BEMCLI cmdlet to query the job status. Off-hand I can't remember the name of the cmdlet.


Re: PowerShell Take Jobs Off Hold

Thanks, you gave me a direction.

Resume-BEJob removes the Hold setting permanently.

To search for a job and remove hold:

Get-BEJob -Name "<name of job; can use wildcards>" | Resume-BEJob


Get-BEJob -Status OnHold  | Resume-BEJob