How to convert a Backup Exec job log from xml to html or text format using BEMCLI (Backup Exec Management Command Line Interface)

book

Article ID: 100027338

calendar_today

Updated On:

Resolution

Using job history

Get-BEJobHistory -FromLastJobRun | Get-BEJobLog -OutputStyle [text or html]

 

Using file

Get-BEJobLog -Path [path to job log xml]  -OutputStyle [text or html]  > [output path plus filename]

 

These commads output to the console. To save the output to a file pipe it in to out-file

Get-BEJobHistory -FromLastJobRun | Get-BEJobLog -OutputStyle  [text or html] | Out-FIle -filepath [file path]

 

For more help

Get-Help Get-BEJobLog


Issue/Introduction

Converting a Backup Exec job log from xml to html or text format