Symantec Management Platform (Notification Server)

 View Only
  • 1.  Execution Report on a Script not a SWD

    Posted Jun 29, 2017 08:30 AM

    Hi All,

    I pushed a "Script" to multiple computers but I am unable to find how to run a execution report on it.  I know how to run a execution report on a SWD but not on a Script.

    Thanks.



  • 2.  RE: Execution Report on a Script not a SWD

    Broadcom Employee
    Posted Jun 29, 2017 09:07 AM

    Hi,

    You may try to use the default Task Server reports. Please see bitmap below for the reports' location:

    06292017--ts-reports-01.png

    Thank you,

    Alex.



  • 3.  RE: Execution Report on a Script not a SWD

    Posted Jun 29, 2017 09:49 AM

    I get a blank result page:

    pic1_0.JPG

     

    pic2.JPG



  • 4.  RE: Execution Report on a Script not a SWD

    Broadcom Employee
    Posted Jun 29, 2017 09:58 AM

    (posted by error)



  • 5.  RE: Execution Report on a Script not a SWD

    Broadcom Employee
    Posted Jun 29, 2017 10:15 AM

    What do you see on a "Task Status" page for this task in the right pane - was the task already executed?

    Note: by dbl-click to the task instance in the right pane you may see the details of specific task run and use "Group By" drop-down to filter results (by "status", for example).

    06292017--75-task-instance-view.png



  • 6.  RE: Execution Report on a Script not a SWD

    Posted Jun 29, 2017 11:24 AM

    If I double click on the task, I do get the status results.  However if I push this script out to 1,000 computers I would like to export the execution report to excel.

     

    pic3.JPG



  • 7.  RE: Execution Report on a Script not a SWD

    Posted Jun 29, 2017 02:35 PM

    Anyone?



  • 8.  RE: Execution Report on a Script not a SWD

    Broadcom Employee
    Posted Jun 30, 2017 02:40 AM

    Maybe "Task Summary by Resource" report will suite your needs?

     

    06302017--ts-reports-02-task-summary.png



  • 9.  RE: Execution Report on a Script not a SWD

    Posted Jul 07, 2017 04:44 AM

    Hi,

    What I do when run a custom script is , in Advanced option I select '

     

     select top 10000   
    
     vc.name,
    i.Name as 'Task Name',
    
    ti.ExecutedBy, 
    
    ti.StartTime,
    
    replace(replace(replace(replace(cast(to2.Value as NVarchar(max)), '/',''), 'string', ''), 'int', ''),'<>','') as 'Task Output'
    
    --eti._ResourceGuid,
     
    --ti.TaskInstanceGuid,
    
    
    --ti.Name as 'Task Instance Name', 
    
    from TaskInstanceSummaries ti
    
    left join TaskInstanceParents tip on tip.ParentTaskInstanceGuid = ti.TaskInstanceGuid
    
    left join TaskOutputPropertyValue to2  on to2.TaskInstanceGuid = tip.TaskInstanceGuid
    
    join ItemVersions iv  on iv.VersionGuid = ti.TaskVersionGuid -- Find the name of the task
    
    join Item i  on i.Guid = iv.ItemGuid  
    
    join Evt_Task_Instances eti on eti.TaskInstanceguid = tip.TaskInstanceGuid
    
    join vComputer vc on vc.guid = eti._ResourceGuid
    
    where i.Name = 'Task Name'
    and to2.Name = 'scriptoutput'
    
    order by ti.StartTime desc 

    I hope it helps.

    Tomasz