PowerShell script library: choose a reporting workflow
Documentation: Microsoft Learn
Use this library to choose a workflow before opening its implementation. Start with the report you need, then follow the linked script to inspect parameters and assumptions. Browse Scripts when you already know which command or task you need.
Choose your next task: short checked exercises · type and inspect a pipeline · assemble command blocks · a short daily task · a complete weekly report · read an individual script ·
Overview
TESTED SCRIPT LIBRARY
SCRIPT CONTRACT
Every featured script answers four questions
Prerequisites, output shape, safety boundary and verification live next to the code instead of in a disclaimer nobody reads.
Prerequisites
Edition, module, privilege, network and data assumptions.
Output
Object type and properties before any display formatting.
Safety
Read-only vs state-changing behavior, WhatIf support and irreversible steps.
Verification
A repeatable check or Pester assertion that proves the expected behavior.
Stopped automatic services
Verification idea
Show reference output
Large file inventory
Verification idea
Azure resource inventory
Verification starts by confirming tenant/subscription context before trusting inventory results.
Entra user review
Keep discovery separate from account changes. Export a review queue before remediation.