Skip to content

Instantly share code, notes, and snippets.

View davidtrevor23's full-sized avatar

davidtrevor23

View GitHub Profile
@mklement0
mklement0 / Out-HostColored.ps1
Last active December 13, 2024 14:56
PowerShell function that colors portions of the default host output that match given patterns.
<#
Prerequisites: PowerShell version 2 or above.
License: MIT
Author: Michael Klement <[email protected]>
DOWNLOAD, from PowerShell version 3 or above:
irm https://gist.github.com/mklement0/243ea8297e7db0e1c03a67ce4b1e765d/raw/Out-HostColored.ps1 | iex