Author: Ben

Preparing custom image templates with Azure Image Builder & PowerShell

Azure Image Builder (AIB) is Microsoft’s solution to configure and customize virtual machine images. The concept of it is pretty great: Pick a reference image from the public market place, apply some customization built around HashiCorp’s Packer, hit build and what you are left with is a fully customized template image that can be hosted in Azure as a managed image or a VHD file. Now, here’s the problem …

Dynamically set the time zone of a device in Intune using Azure Maps & PowerShell

Let me start off by saying I wish I didn’t have to write this post. Setting the correct time zone of a Windows device shouldn’t be this difficult, especially with all of the management possibilities provided to us with Intune and the entire endpoint management stack. But here we are… I get it though. At one point, as Michael Neihaus has written about previously, even if we could configure …

Managing Intune with Graph, PowerShell 7 & MSAL

So it seems we need to talk about Graph and authentication again… Recently, Microsoft announced an official “end of support timeline” for Azure Active Directory Authentication Library (ADAL) which means, any scripts or automation workflows that you use will need to be migrated over to the newer Microsoft Authentication Libraries (MSAL). There are many differences between the two libraries, but the workflows are very similar – a request is …

Installing fonts with PowerShell & Intune

So this seems like a fairly simple and innocuous task – the marketing department comes to you and ask for a handful of new fonts to be deployed to all devices.. Previously you may have solved this request using Group Policy – but if you are managing your devices with Intune, where do you even start? With PowerShell & Win32 app deployments of course! Create. First let’s scaffold out …

Rapidly build Autopilot VMs with Hyper-V and PowerShell!

Picture this scenario – you are at the pointy end of a major modern management project and it’s time to test every policy, configuration and application at scale and quickly. What do you do? With infinite money, infinite time and a willing client, you take over their VC meeting room and stack dozens of devices on a desk and blast slayer while you verify your builds ( this literally …

Installing printers with Intune & PowerShell

On the surface, installing printers on end user devices seems like a fairly simple process that’s been solved for decades – a nice combination of Group Policies and PowerShell has made this a non-issue. But what if our devices aren’t domain joined? When I first had to tackle this problem, I figured it would be a simple as running “Add-Printer” as the end user and moving on. The problem …

Creating Endpoint Security Policies with PowerShell

Keeping up with the rapid momentum of everything in the modern management world is a full time job. It’s exhausting, but it’s also fun. It truly pays to read the “What’s new in Microsoft Intune” on a regular basis. Case in point, late last month, Microsoft announced an updated URL for the Microsoft Endpoint Manager Admin Portal – https://endpoint.microsoft.com, previously https://devicemanagement.microsoft.com. Along with this change to the new and …

Replicate your favorite VSCode theme in Windows Terminal

Windows Terminal has been out for around 6 months now and it’s safe to say it’s a huge success.It’s a great way to handle working with multiple terminal applications in one space, and the ability to customize the environment to suit your needs (both aesthetic and functional) make it a perfect tool for anyone who lives in a shell environment for hours on end. I was recently tagged in …

Powers Hell merchandise is here!

For those that don’t know, aside from meeting incredibly smart people and sharing knowledge, the main reason I love going to conferences is that I get to trade “nerd shirts” with conference attendees. Every conference I attend, I spend time to design and print “one-off” t-shirts to give away and trade. Shirts are inherently cooler than business cards and I take my shirts very seriously. So with that said, …