When I develop different scripts for organizations, I like to customize the Window title as a small a “small touch”. For engineering firms, the window title may secure their intellectual property when the script is being run.
For whatever reason you want to customize the PowerShell Window Title, it’s a simple one liner.
$Host.UI.RawUI.WindowTitle = “Copyright © 2016 MasteringPosh.com. All Rights Reserved. Read More…
This quick article explains how to search for installed or pending Windows Updates on a system leveraging PowerShell, and create a report of what was found.
Recently I wrote a script that was to determine the current state of infrastructure in an environment. One of the items we wanted to scan for was the current state of Windows Updates. It’s often surprising and sometimes outright scary the current Windows update state of Windows Infrastructure. Read More…
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…