Backup Exec Management Command Line Interface Help
Get-BEJobLog Cmdlet
Synopsis

Gets the job log for a job history in Backup Exec.

Syntax
Get-BEJobLog [-Path] [<String>] [[-OutputStyle] {Text | Html}] [<CommonParameters>]

Get-BEJobLog -JobHistory [<BEJobHistory>] [[-OutputStyle] {Text | Html}] [<CommonParameters>]
Description

Gets the job log for a job history in Backup Exec.

Parameters

-JobHistory <BEJobHistory>

Specifies the job history to get the job log for.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-Path <String>

Specifies the path for a job history XML file.


Required true
Position 0
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-OutputStyle

Specifies the desired job log format.

The valid values are:
Text
Html


Required false
Position 0
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type
BackupExec.Management.CLI.BEJobHistory

You can pipe a Backup Exec job history object to Get-BEJobLog.

Return Value
System.String

Get-BEJobLog returns the string that represents the contents of the job log.

Example
C:\PS> Get-BEJob "Job 01" | Get-BEJobHistory -FromLastJobRun | Get-BEJobLog

These commands get the last job log for the Backup Exec job named "Job 01".

Related Links

Get-BEJob
Get-BEJobHistory