PowerShell, Intune and Microsoft Graph field notes

PowerShell & Graph

Every field note filed under PowerShell & Graph, newest first. 11 posts so far.

Posts

2026

  1. How to turn a PowerShell script into a module

    Turn a one-off PowerShell command into a script, an advanced function, and a module that your Intune remediation scripts can call.

  2. PowerShell try/catch: why it misses errors

    Make try/catch catch cmdlet errors and native command failures, so that your Intune scripts stop reporting success when they fail.

  3. Build Terminal Presentations with PowerShell

    TerminalSlides lets you build a versionable presentation in PowerShell, deliver it from a terminal, and export the same deck for docs or CI.

  4. PowerShell Summit 2026: We Are All Insane, and That Is the Opportunity

    To quote Jeffrey Snover, "you are all insane." Not as an insult. As a diagnosis.

  5. Using .NET Methods in PowerShell (with practical examples you'll actually reuse)

    PowerShell is already sitting on top of .NET. Here are the patterns I use most: strings, paths, file I/O, time, crypto, and more.

2025

  1. Finding WMI Usage Before Microsoft Finds It For You

    Microsoft is deprecating WMIC and legacy WMI cmdlets. Find every instance in your codebase before your scripts start breaking in production.

  2. WinGet Without WinGet: Building a Cross-Platform Package Manifest Fetcher

    Query WinGet packages from macOS or Linux by hitting the winget-pkgs GitHub repo directly - no WinGet client required.

  3. Supercharge Microsoft Graph API Data Retrieval with PowerShell Batch Requests

    Reduce Graph API data export times by up to 88% using batch requests and parallel processing. Real production metrics included.

2023

  1. Top 20 Graph API Cmdlets

    A practical tour of the 20 most useful Microsoft Graph PowerShell cmdlets for managing users, groups, devices, apps, and more in Microsoft 365.

  2. Find Registry Uninstall Keys with PowerShell

    A PowerShell function to search the Windows registry for uninstall keys matching a specified string, with support for 64-bit and 32-bit applications.