Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Commands

The Maester PowerShell module has commands to connect to your tenant, run the checks, build reports and alerts, manage Maester Packs and write your own tests. Each page below is generated from the command’s help in the source.

To write your own tests with these commands, see Write your own tests.

Step 1 · Sign inConnect-MaesterHelper method to connect to Microsoft Graph using Connect-MgGraph with the required permission scopes as well as other services such as Azure, Exchange Online, and GitHub.PS> Connect-MaesterStep 2 · Run the checksInvoke-MaesterThis is the main Maester command that runs the tests and generates a report of the results.PS> Invoke-Maester

Connect

Sign in to Microsoft 365, Azure, Active Directory and GitHub, and manage the session and its caches.

Run and write tests

Run the checks, find and write tests, and record what a test found.

Reports and alerts

Build, merge and compare reports, and send the results by email or to Teams.

Maester Packs

Install, update and build packs of extra checks.

Automation setup

Create and update the app registration that runs Maester in a pipeline.

Entra and Microsoft Graph

Read users, roles, groups, licences and Conditional Access from Microsoft Graph, for your own tests.

Exchange and email

Read Exchange Online settings and check a domain’s SPF, DKIM, DMARC and MX records.

Azure and SharePoint

Call Azure Resource Manager and Resource Graph, and read SharePoint Online settings.