Summary: Easily time how long a Windows PowerShell command takes to complete.
How can I time how long a command takes to complete in Windows PowerShell?
Use the Measure-Command cmdlet—for example, to time how long it takes to Get-Process (gps is an alias)
to complete, put the command in a script block and call Measure-Command:
Measure-Command {gps}
0 comments