Spellbook
1.6.7
M365 helpdesk toolkit for user lifecycle, tenant auditing, mailbox management, MFA and Exchange. Built for MSP engineers.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Stephen Vella (email@stephenvella.work). All rights reserved.
Package Details
Author(s)
- Stephen Vella
Tags
M365 Microsoft365 Exchange Helpdesk MSP Entra PowerShell Toolkit MFA Offboarding Onboarding
Functions
invoke new-user offboard-user reset-password set-userlicence get-userreport get-allusers get-inactiveusers get-mfaaudit get-guestaudit get-signinlogs get-tenantreport get-mailflow get-archive get-forwarding get-sharedmailboxaudit set-forwarding remove-forwarding get-mailboxperms get-userperms set-mailboxperms get-maxmessagesize set-maxmessagesize set-autoexpand get-inplaceretention add-inplaceretention get-userinplace set-userinplace disable-autocalevents get-groupmembers kill-graph kill-exchange get-connections get-smsmfa get-listsmsmfa set-smsmfa add-smsmfa add-tap remove-taps inherit-permissions get-conditionalaccess get-licencegaps new-sharedmailbox get-devicereport
Dependencies
-
- ExchangeOnlineManagement (>= 3.7.2)
- Microsoft.Graph.Authentication (>= 2.0.0)
- Microsoft.Graph.DeviceManagement (>= 2.0.0)
- Microsoft.Graph.Groups (>= 2.0.0)
- Microsoft.Graph.Identity.DirectoryManagement (>= 2.0.0)
- Microsoft.Graph.Identity.SignIns (>= 2.0.0)
- Microsoft.Graph.Reports (>= 2.0.0)
- Microsoft.Graph.Users (>= 2.0.0)
- Microsoft.Graph.Users.Actions (>= 2.0.0)
Release Notes
1.6.7 — Fixed: reset-password no longer echoes an engineer-supplied password to the console; corrected stale file-header comments in get-mailflow and set-mailboxperms.
FileList
- Spellbook.nuspec
- LICENSE
- Spellbook.psm1
- Public\add-tap.ps1
- Public\get-archive.ps1
- Public\get-devicereport.ps1
- Public\get-guestaudit.ps1
- Public\get-licencegaps.ps1
- Public\get-mailflow.ps1
- Public\get-sharedmailboxaudit.ps1
- Public\get-tenantreport.ps1
- Public\get-userreport.ps1
- Public\kill-graph.ps1
- Public\offboard-user.ps1
- Public\reset-password.ps1
- Public\set-mailboxperms.ps1
- Public\set-userinplace.ps1
- Public\add-inplaceretention.ps1
- Public\disable-autocalevents.ps1
- Public\get-conditionalaccess.ps1
- Public\get-forwarding.ps1
- Public\get-inactiveusers.ps1
- Public\get-listsmsmfa.ps1
- Public\get-maxmessagesize.ps1
- Public\get-signinlogs.ps1
- Public\get-userinplace.ps1
- Public\inherit-permissions.ps1
- Public\new-sharedmailbox.ps1
- Public\remove-forwarding.ps1
- Public\set-autoexpand.ps1
- Public\set-maxmessagesize.ps1
- Public\set-userlicence.ps1
- Spellbook.psd1
- Public\add-smsmfa.ps1
- Public\get-allusers.ps1
- Public\get-connections.ps1
- Public\get-groupmembers.ps1
- Public\get-inplaceretention.ps1
- Public\get-mailboxperms.ps1
- Public\get-mfaaudit.ps1
- Public\get-smsmfa.ps1
- Public\get-userperms.ps1
- Public\kill-exchange.ps1
- Public\new-user.ps1
- Public\remove-taps.ps1
- Public\set-forwarding.ps1
- Public\set-smsmfa.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.6.7 (current version) | 4 | 6/23/2026 |
| 1.3.0 | 30 | 5/13/2026 |
| 1.2.0 | 11 | 5/13/2026 |
| 1.1.0 | 6 | 5/12/2026 |