๐Ÿงฉ PowerShell & Graph script generator

Pick a check, set the options, and copy a commented PowerShell script with the least-privilege Graph scopes it needs.

๐Ÿ”’ Built from vetted templates in your browser. Nothing you choose is sent anywhere, and every script is read-only by default.

Safe by default: every script only reads and exports data. Anything that could change a directory is a dry run with -WhatIf until you remove it yourself.


  

Why this matters

Most identity incidents I see start with something nobody was looking at: an app secret that never expires, a service principal with Directory.ReadWrite.All, an admin with no phishing-resistant MFA, a computer account nobody has touched in two years.

These scripts are the checks I run first on an engagement. They only read and export, they ask for the narrowest Graph scopes that work, and anything that could change your directory stays a -WhatIf dry run until you decide otherwise.