Automating with Graph API
Last week we discussed sending emails with Graph API. You can read about it here. Today we will be taking that script and making it so it can be automated. On the backend, you will need to create an Azure App. You can read about how to do that here. The following code only works in Powershell 7 and above. Automating with Graph API works best in...
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...