I have been using Measure-Command in PowerShell to time the execution of a Python script:
Measure-Command{C:\Python27\python.exe script.py}
This displays the execution time in a number of forms, including TotalSeconds.
In order to minimize the effect of overhead, I would like to run the script 10 times and find the minimal TotalSeconds value across the 10 runs. Is there a simple way to do this in PowerShell?