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
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments