Canceling BE 2012 Jobs in a script

Would someone be kind enough to paste their script to cancel all running backups? Searching the forums and not really finding exactly what I need. 

 

 

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Run the following Powershell

Run the following Powershell script which uses BEMCLI

Get-BEJob -Status Active | Stop-BEJob $confirm:true

You might want to read my article below first

https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

View solution in original post

1 Reply
Highlighted
Accepted Solution!

Run the following Powershell

Run the following Powershell script which uses BEMCLI

Get-BEJob -Status Active | Stop-BEJob $confirm:true

You might want to read my article below first

https://www-secure.symantec.com/connect/articles/preparing-your-powershell-environment-run-bemcli-and-scripts

View solution in original post