Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

bemcli - Jobs Summary

Created: 12 May 2014 • Updated: 13 May 2014 | 3 comments
Georg Kabas's picture
This issue has been solved. See solution.

Hi,

I want run a Job Summary report for the last week and save it to the file system.

 

This is my command, but how can I set the "range"?

> Get-BEReport -Name "Jobs Summary"  | Invoke-BEReport -Path .\Jobs_Summary.html

 

In the GUI I can select 168 hours under "RANGES", but I didn't found how to do this in BEMCLI?

 

Thanks for your help,

Georg

 

Comments 3 CommentsJump to latest comment

lmosla's picture

Hi,

I don't us BEMCLI much but maybe pkh's blog 'Using BEMCLI to speed up tasks' will help... https://www-secure.symantec.com/connect/articles/using-bemcli-speed-tasks  

pkh's picture

Have you tried the -WithinHour switch for the Invoke-BEReport cmdlet?

SOLUTION
Georg Kabas's picture

@pkh: Thank you for the syntax.

I have tried -WithInHour at the Get-BEReport cmlet, not at Invoke-BEReport.

The right command is - for Job-Summary from last week:

Get-BEReport -Name "Jobs Summary"  | Invoke-BEReport -WithinHour 168 -Path .\Jobs_Summary.htm