Summary : Learn how to measure the time for a Windows PowerShell command to complete.
How can I see how many seconds it takes to retrieve objects from the application log?
(Measure-Command { Get-EventLog application }).totalseconds Read the full text.