This repository contains beginner-friendly PowerShell scripts for Microsoft 365, Microsoft Entra ID, Microsoft Graph PowerShell, and Exchange Online administration.
The scripts are designed for Service Desk, IT Support, and Identity and Access Management learning.
- PowerShell basics for cloud administration
- Microsoft Graph PowerShell connection
- User listing and export
- Disabled account review
- Exchange Online PowerShell connection
- Mailbox summary reporting
- Safe script documentation
- No-secrets GitHub hygiene
| Script | Purpose |
|---|---|
01-connect-graph-basic.ps1 |
Connect to Microsoft Graph PowerShell |
02-get-m365-users-basic.ps1 |
List basic Microsoft 365 users |
03-get-disabled-users.ps1 |
Identify disabled user accounts |
04-export-user-list-to-csv.ps1 |
Export user list to CSV |
05-connect-exchange-online.ps1 |
Connect to Exchange Online PowerShell |
06-get-mailbox-summary.ps1 |
Retrieve basic mailbox summary |
This repository does not contain passwords, access tokens, tenant secrets, real user data, private keys, or production credentials.
All scripts are for lab and learning use only.
In progress.