PowerShell / Audit / Reporting

PowerShell Audit Scripts

Public-safe PowerShell audit and reporting toolkit for Windows Server, Active Directory, Group Policy, Microsoft 365, Exchange Online, Microsoft Entra ID and Microsoft Intune environments.

Purpose

This repository collects practical, read-only audit and reporting scripts for Microsoft infrastructure environments. The goal is operational visibility without publishing customer-specific data or generated reports.

Read-only focus Public-safe examples Structured reporting GitHub Actions MIT licensed

What it demonstrates

  • PowerShell audit scripting.
  • Microsoft infrastructure and cloud administration knowledge.
  • Readable reports and operational documentation.
  • Repository hygiene, testing and public safety checks.

Publishing model

  • No generated customer reports in the repository.
  • No customer names, tenant identifiers or internal hostnames.
  • Sanitized examples only.

Coverage areas

Windows Server Active Directory Group Policy Microsoft 365 Exchange Online Microsoft Entra ID Microsoft Intune Reporting

Typical outputs

  • HTML reports for review.
  • CSV exports for filtering and handover.
  • Compact operational summaries.
  • Synthetic sample output for public documentation.

Repository structure

  • docs/ - project documentation.
  • examples/ - synthetic sample output.
  • tests/ - repository validation tests.
  • .github/workflows/ - quality and safety automation.

Safety model

This repository is designed for public-safe sharing. Generated reports may contain sensitive operational information and should not be committed unless fully reviewed and sanitized.

  • No customer names, user names or device names.
  • No tenant identifiers, secrets, tokens or credentials.
  • No private IP addresses, internal hostnames or generated exports.

Quality checks

  • PSScriptAnalyzer
  • Secret Scan / Gitleaks
  • Pester repository tests
  • Public Safety Check
  • Branch protection and required checks

Use case

The scripts are intended for IT specialists, administrators and consultants who need repeatable audit output and clear documentation for Microsoft environments.