Microsoft Graph permissions: delegated vs application
Know who your Graph call runs as, why an app-only script can do more than you expect, and how to pick the smallest Intune permission for each job.
PowerShell, Intune and Microsoft Graph field notes
Every field note filed under PowerShell & Graph, newest first. 11 posts so far.
Know who your Graph call runs as, why an app-only script can do more than you expect, and how to pick the smallest Intune permission for each job.
Turn a one-off PowerShell command into a script, an advanced function, and a module that your Intune remediation scripts can call.
Make try/catch catch cmdlet errors and native command failures, so that your Intune scripts stop reporting success when they fail.
TerminalSlides lets you build a versionable presentation in PowerShell, deliver it from a terminal, and export the same deck for docs or CI.
To quote Jeffrey Snover, "you are all insane." Not as an insult. As a diagnosis.
PowerShell is already sitting on top of .NET. Here are the patterns I use most: strings, paths, file I/O, time, crypto, and more.
Microsoft is deprecating WMIC and legacy WMI cmdlets. Find every instance in your codebase before your scripts start breaking in production.
Query WinGet packages from macOS or Linux by hitting the winget-pkgs GitHub repo directly - no WinGet client required.
Reduce Graph API data export times by up to 88% using batch requests and parallel processing. Real production metrics included.
A practical tour of the 20 most useful Microsoft Graph PowerShell cmdlets for managing users, groups, devices, apps, and more in Microsoft 365.
A PowerShell function to search the Windows registry for uninstall keys matching a specified string, with support for 64-bit and 32-bit applications.