M365.Toolkit

M365.Toolkit is a PowerShell module for common Microsoft 365 administration tasks.

Installation

Install-Module -Name M365.Toolkit
Import-Module -Name M365.Toolkit

The module requires PowerShell 7.4 or later and PnP.PowerShell 3.1.0 or later.

View M365.Toolkit on PowerShell Gallery

Command reference

Command Description
Get-M365ToolkitInfo Returns information about the loaded module.
Connect-SP365 Connects interactively to a saved SharePoint Online tenant.
Clear-SP365List Deletes or recycles every item in a SharePoint list.
Copy-SP365Nav Copies navigation nodes between locations or sites.
Move-SP365Nav Moves navigation nodes between locations or sites.
Restore-SP365ListItems Restores a list’s items from the SharePoint recycle bin.

See the GitHub repository for source code and release information.