Skip to content

Sys Code Alpha

PowerShell programming blog

  • About me

Month: April 2019

Quick way to filter out wrong IP address in PowerShell

Posted on 23 April 201923 April 2019 by Simon

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 […]

Leave a comment

Highlight lines with a matching pattern when looking at logfiles in PowerShell console.

Posted on 22 April 201923 April 2019 by Simon

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:

Leave a comment

Recent Posts

  • Get AD OU Distingushied Name quickly
  • Smart string modification filter.
  • Use PowerShell to Quickly Find Installed Software
  • PS Remoting diagnostics
  • Tool to check fileshare permissions on old systems.

Recent Comments

    Archives

    • January 2023
    • November 2022
    • September 2020
    • March 2020
    • January 2020
    • October 2019
    • June 2019
    • April 2019

    Categories

    • default

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    WordPress Theme : FortySeven Street by 8Degree Themes
    Top