IT Admin Knowledge Base

Dex Cookbook

Professional recipes for IT admins — step-by-step instructions for Admin Center, Graph API, and PowerShell. Every recipe is generated from real tasks completed by Dex, the autonomous IT engineer.

Browse by Category

Categories

Coming Soon

🖥️

Windows & Active Directory

AD management, GPO, DNS, DHCP, and Windows Server tasks

No recipes yet

🌐

Networking & Infrastructure

Network diagnostics, firewall rules, VPN, and connectivity

No recipes yet

Latest

Recent Recipes

Create a New Entra ID User and Email Temporary Credentials

Provision an unlicensed Entra ID account with a secure temporary password and deliver the credentials to a designated recipient

User & Group Managementbeginneronboardingidentityuser-lifecyclecredentials

Deploy a One-Time PowerShell Script via Intune to Run Disk Cleanup and Clear Windows Update Cache

Remotely reclaim disk space on a managed Windows device by pushing a targeted PowerShell script through Intune

Intune & Device Managementintermediatedevice-performancestoragewindows-updateremote-remediationintune-scripts

Bulk Update User Profile Attributes (e.g., City) via Microsoft Graph

Standardize directory profile fields across all employees using Microsoft Graph PATCH operations

User & Group Managementintermediatebulk-operationdirectory-hygieneuser-profileentra-idautomation

Inventory Installed Software (Detected Apps) on a User's Intune-Managed Devices

Enumerate a user's Intune-managed devices and retrieve the detected applications inventory via the Microsoft Endpoint Manager admin center, Graph API, or PowerShell

Intune & Device Managementintermediatedevice-managementsoftware-inventoryaudithelp-deskintune

Remove a License from a Microsoft 365 User via Microsoft Graph

Safely unassign a specific SKU from a user account to reclaim licenses and reduce costs

Licensing & Cost Optimizationbeginnerlicensingcost-optimizationuser-lifecycleoffboarding

List All SharePoint Sites and Their Document Libraries via Microsoft Graph

Enumerate every SharePoint site in your M365 tenant and the document libraries (drives) attached to each, then export the inventory for governance review.

SharePoint & OneDriveintermediateread-onlygovernancereportingsharepoint

Retrieve BitLocker Recovery Keys for a User's Device via Microsoft Graph

Locate a user's Entra-joined or Intune-managed device and retrieve its BitLocker recovery key for drive unlock or recovery scenarios

Intune & Device Managementintermediatesecuritydevice-managementhelpdeskcompliance

List Members of a Mail-Enabled Group Including Organizational Contacts

Resolve every recipient — users, guests, and org contacts — that receives mail sent to a distribution or mail-enabled group

Exchange & EmailintermediateExchange OnlineGroupsMail FlowMicrosoft GraphDirectory

List Available Microsoft 365 License SKUs and Usage in a Tenant

Enumerate subscribed SKUs, consumed units, and available seats across your tenant

Licensing & Cost Optimizationbeginnerread-onlyauditlicensingcost-optimization

Identify Administrators with Group Management Permissions in Entra ID

Audit directory role assignments to discover who can create, modify, or manage group memberships in your tenant

Entra ID & Identityintermediatesecuritycomplianceaccess-reviewprivileged-access

List a User's Group Memberships in Entra ID via Microsoft Graph

Audit which security groups, Microsoft 365 groups, and directory roles a user belongs to

User & Group Managementbeginnerread-onlyauditaccess-reviewlow-risk

Scan Synology NAS for File Paths Exceeding SharePoint Migration Limits

Identify files with paths longer than 400 characters on a Synology NAS before migrating to SharePoint Online or OneDrive

SharePoint & OneDriveintermediatemigration-prepdata-auditsharepointonedrivefile-server