User vs System install behavior – know what your scripts are doing, and how to open PowerShell as system.

A quick summary on User/System context for app deployments I see posts about this on Reddit pretty often. Usually the OP is trying to copy a configuration file to the target user’s appdata folder. They run the script manually on a workstation, and it all works fine, but when they try deploying it through Intune, […]

User vs System install behavior – know what your scripts are doing, and how to open PowerShell as system. Read More »

Sync Users’ Teams Backgrounds (or other files) with OneDrive using Intune

Intro This post was inspired by a question posted to the Modern Endpoint Management LinkedIn group about syncing/backing up users’ teams backgrounds to OneDrive. I work with Teams a lot, so this was something I was interested in solving. Teams backgrounds are stored in the user’s %appdata% folder. So, the challenge was to sync the

Sync Users’ Teams Backgrounds (or other files) with OneDrive using Intune Read More »

PowerShell + Data Factory + Logic App = Autopilot Hardware Hashes sent to you in Teams

A couple months ago I posted how you can upload autopilot hardware hash files directly to blob storage from your target machines – https://smbtothecloud.com/upload-autopilot-hardware-hashes-to-azure-blob-storage/. I wanted to try automating as much of the remaining process as possible and found myself down a rabbit hole. This solution is probably overkill to gather hardware hash files, but

PowerShell + Data Factory + Logic App = Autopilot Hardware Hashes sent to you in Teams Read More »

Export & Import settings catalog profiles between tenants with PowerShell and Graph API

Intro Several months ago I read a blog about exporting and importing Intune configuration profiles and policies between tenants (Export & Import Intune policies and configuration using Graph API (cloudsecuritea.com). This method worked well and saved a lot of time, but this method doesn’t work for settings catalog profiles. Now that settings catalogs are the

Export & Import settings catalog profiles between tenants with PowerShell and Graph API Read More »

PowerShell an App Registration & use it for Autopilot Registration

Getting devices registered in autopilot can be a pain if they are already in production. I wrote a post last month about uploading hardware hashes to blob storage (or a network share) and then merging the CSV hashes into a single file for upload. However, I recently discovered the Get-WindowsAutoPilotInfo script can authenticate to your

PowerShell an App Registration & use it for Autopilot Registration Read More »