Windows PowerShell measure time to execute
The Unix time command measures the elapsed time between the start and end of a command. For Windows PowerShell, command execution time is measured by Measure-Command.
Measure-Command { ls }
Measure-Command { ping localhost }