Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Measure-Command

Measure-Command - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Measures the time it takes to run script blocks and cmdlets.

Measure-Command [-Expression] <ScriptBlock> [-InputObject <PSObject>] [<CommonParameters>]

The Measure-Command cmdlet runs a script block or cmdlet internally, times the execution of the operation, and returns 
the execution time.