Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Measure-Command

Measure-Command - Powershell 2.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 retu
rns the execution time.