Ausführungszeit Script messen

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

Quelle