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…
The encryption and decryption of strings is essential when creating an enterprise product that has clear text passwords. This function displays how to encrypt and decrypt a string using Powershell using Richard’s code located at http://poshcode.org/116. While I found his code very useful, he didn’t explain the syntax and is why I am reposting this with the proper information.
I also decided to make this into an endless loop for an administrator to use to encrypt multiple passwords in a row. Read More…