Category: PowerShell

A Certifiably, Registered DNS Problem I have a problem. Not a drinking problem, not even a personal problem. A problem with how Windows handles DNS registration. When I move my laptop from my wired dock to our wireless connection, the DNS entry is, annoyingly, no longer correct. The DNS server still reports the old address. […]

This blog is a follow-up to a recent blog I published about importing Product Keys into PDQ Inventory with SQLite and PowerShell. (If you are looking for that blog – go here) Something I didn’t touch on in the other blog was concerning possible performance hurdles that you may run into when playing around with […]

Once upon a time, I was asked how to go about bulk importing product keys into PDQ Inventory during a webcast. Easy peasy, I thought, as I babbled on for a bit until I realized that I could write a blog instead. So voila! Blog! Preparation (and deep breaths) First and foremost, this functionality already […]

Hello there! BlueKeep (CVE-2019-0708) is a dangerous vulnerability in Microsoft’s Remote Desktop Protocol (RDP). It is wormable (it can spread autonomously from computer to computer), so you should patch it ASAP. I wrote a PowerShell script to help you find the computers you need to patch. The PowerShell Script My script runs rdpscan, parses the […]

  PowerShell Have you ever wanted to gather data from a Confluence page automagically? In this post, I’ll show you how gathering Confluence page data with PowerShell can do just that. I use Confluence pages internally to track lists of items I’m working on and to view current progress. For instance, I have a goal […]

Here’s a recap of what you may have missed in our webcast last Thursday where we talked about using Regular Expressions in PowerShell. Regular Expressions Last week on PDQ Live we went over some of the uses for RegEx and how it can help you clean up your data for easier use in scripts. For […]

If you are like me, not only have you never made an error in your script but all external forces that are out of your control also always work as intended! What do people without the magic PowerShell touch do? They embark in the ancient battle that has gone on for generations called error handling.  […]

If you’re getting tired of paying overage fees to the blood-sucking vampires that run the ISPs servicing your remote sites, I’m going to show you an alternative to DFS which allows you to cache your deploy patch/install files to each remote site. Target machines can then grab the install files from their closest cache server […]

PowerShell Core 6 There are several reasons that you may want to use PowerShell Core 6. Some people like bigger numbers and 6 is definitely bigger than 5. Others may have some Linux machines in their environment and would prefer to use PowerShell’s object-oriented goodness when interacting with it. No matter your reasons for it, […]