Measure-Command


Tracks the running time for script blocks and cmdlets.

Snap-In: Microsoft.PowerShell.Utility

Syntax:

Measure-Command

 [-Expression] <ScriptBlock> [-InputObject <PSObject>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] 

Description:

The time-expression Cmdlet takes a script block or cmdlet and runs it internally. It times the execution of the operation and returns the results. It does not actually return anything from the script or cmdlet.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net