By: Brenton Blawat
This quick article quickly goes over scanning the contents of files using PowerShell. There will be a later series of blogs that will explain how to search and replace items in a file using PowerShell, how to search XML files using PowerShell, and how to search using regular expressions.
Over the last 10 years, I’ve come across many situations where I need to scan the contents of files using PowerShell. Read More…
Let me start this out with don’t worry – its easy. Regular expressions often times cause people to immediately move on to the next solution but I guaranty that you’ll be able to do this with ease.
The idea for this article all started when I reading an article from Ed Wilson’s Hey Scripting Guy blog. He had a guest blogger Rob Campbell who wrote an article on “Speed Up Array Comparisons in PowerShell with a Runtime Regex” (That article can be found here.). Read More…