
Validate Script Explained
PowerShell is a versatile scripting language that can help automate various tasks for system administrators and developers. One of its key features is the ability to validate script parameters, which can help ensure that the user inputs the correct data. In this blog post, we will explore PowerShell's Validate Script parameter set and provide...
Print to All printers!
Recently I came into a company where their printers were called printer 1, printer 2... and so on and so forth. It was amazing. No one knew which printer went where, and I was asked to make some kind of sense of it. Since I had the support of the people, why not print...
Convert a Mac Address to a CIDR with Powershell
Today, I needed to convert a mac address to a CIDR. The lesson I learned about this is to go back to the basics instead of looking around for a quick answer. So, to the basics first. A mac address is a 4 octet number that represents a binary position. It ranges...
1000 Faces
Need 1000 or unique user photos for your lab? There is a great website for just such a thing. https://thispersondoesnotexist.com/image. Let's break down some code to see how we can pull a few hundred pictures. The first thing we need to know is how many we want. We...
