Hi,
the time command in Windows gets or sets the system time. If you need an equivalent to the linux time command – which measure the execution time of a given command – you can use the powershell commandlet Measure-Command. Limitation is that only the time can measure how long the command execution runs, not splited into user, system and realtime.
1 2 3 4 5 6 7 8 9 10 11 12 | Measure-Command {start-process yourCommand.exe -argumentlist "argument1 argument2" -wait}Days : 0Hours : 0Minutes : 0Seconds : 4Milliseconds : 709Ticks : 47093374TotalDays : 5,45062199074074E-05TotalHours : 0,00130814927777778TotalMinutes : 0,0784889566666667TotalSeconds : 4,7093374TotalMilliseconds : 4709,3374 |
Michael