cancel
Showing results for 
Search instead for 
Did you mean: 

bemcli - Jobs Summary

Georg_Kabas
Level 4
Partner Accredited

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified

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

View solution in original post

3 REPLIES 3

lmosla
Level 6

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
Moderator
Moderator
   VIP    Certified

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

Georg_Kabas
Level 4
Partner Accredited

@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