There are multiple ways to validate IP address using PowerShell. One of them is to use regex. The regex itself is pretty much far from being lightweight. So we end up with this: The safest way to get it in the console is either copy it from a separate file or type regex for one […]
Highlight lines with a matching pattern when looking at logfiles in PowerShell console.
I saw a question on how to highlight certain lines of text when viewing logfiles in PowerShell console. It took me a few minutes to produce a function that does the job: