Tag: Powershell

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 …

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 …

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 …

Synchronize SharePoint sites with Intune & PowerShell

I recently spent some time with my colleague and frequent collaborator Steven Hosking. We spoke about a solution I came up with to synchronize SharePoint sites to devices using PowerShell & Intune. This is something I’ve had in my drafts for quite a while, but it kept ending up being too long to write about. As it turns out, Steve ( and Adam) runs a very valuable and informative …

Organize AutoPilot devices in dynamic AAD groups using GroupTags & PowerShell

Don’t ever say Microsoft doesn’t listen! One of my biggest pet peeves was solved at the beginning of the month when Microsoft announced the ability to edit device group tags! This doesn’t sound like much, but it essentially unlocks the potential of group tags that was never really there before – we can now use group tags to dynamically control device group membership. While there have been quite a …

Upload files to Azure File Share using PowerShell & Microsoft Flow

I’m a big fan of using Start-Transcript in my application install wrappers as it provides a very neat and tidy way to capture the output of everything that happens during the installation process and as such, all of the applications I package end up storing log files locally and I passionately and repeatedly urge my support staff to view these log files to identify issues during deployment. However, not …

Control advanced power settings with PowerCfg & PowerShell

One of the most common questions I get asked about Intune & Modern Device Management is “Would it be possible to do X with Intune?” With the native support to deploy and run PowerShell scripts in either user or system contexts, this allows my answer to always be “Yes! We can do anything you want – you just need to decide on how much time you wish to invest …