Skip to content

Instantly share code, notes, and snippets.

View zawupf's full-sized avatar
🥑

Arnold zawupf

🥑
  • Germany
  • 15:26 (UTC +02:00)
  • X @zawupf
View GitHub Profile
@mklement0
mklement0 / Time-Command.ps1
Last active November 19, 2023 17:08
PowerShell function that times the execution of one or more commands, averaged over a specifiable number of runs.
<#
Prerequisites: PowerShell v5.1 and above (verified; may also work in earlier versions)
License: MIT
Author: Michael Klement <mklement0@gmail.com>
DOWNLOAD and DEFINITION OF THE FUNCTION:
irm https://gist.github.com/mklement0/9e1f13978620b09ab2d15da5535d1b27/raw/Time-Command.ps1 | iex