Want to know the execution time of a script

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of notarat notarat 3 years, 8 months ago.

  • Author
    Posts
  • #10932
    Profile photo of Biswajit
    Biswajit
    Participant

    workflow media {

    Suspend-Workflow
    Checkpoint-Workflow

    Get-ChildItem c:\windows -include

    *.avi,*.m4a,*.m4p,*.m4v,*.mobi,*.mov,*.mp3,*.mp4,*.mpeg,*.mpg,*.VOB,*.wav,

    *.wma,*.wmv -recurse |
    select Directory,FullName,CreationTime,Length |
    Export-Csv media.csv |

    }
    _____________________________
    In addition, need a csv output in every suspend mode.

  • #10937
    Profile photo of notarat
    notarat
    Participant

    IIRC, Measure-Command {yourscript here} will do it

You must be logged in to reply to this topic.