Category: Azure

Publishing PowerShell scripts to Intune with Graph

I’ve recently been asked the question – “How can I make sure that the scripts that I publish to Intune are always set to run as 64bit instead of the default 32bit?”

I thought was a great question with a few simple solutions – so let’s look at the two methods I’ve used in the past to make sure you don’t “fat finger” your way into frustration!

Set your Azure VPN connections to “Connect Automatically” with PowerShell

One of my clients recently came to me asking for assistance to set up a new VPN solution. The requirements were quite simple – They were building out an Azure Point-To-Site VPN solution and needed me to come up with a way to deliver the connection to the end user devices. My first suggestion was to simply use the built-in VPN client that comes with Windows 10. If we …

Deploying Universal Print Printers With PowerShell & Intune

Over the last few weeks I’ve been playing with Universal Print – the cloud print solution developed by Microsoft and I honestly can’t praise it enough. Configuring the “infrastructure” for the solution took me less than 5 minutes.. Seriously – Grab a license (free during the public preview), install and configure a connector on a device with line-of-sight to your printer and finally set the printer shares in the …

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 …

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 …

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 …