Get All Available Cmdlets in SharePoint Online Management Shell

Requirement: Get all PowerShell cmdlets for SharePoint Online

PowerShell cmdlets list for SharePoint Online

Here is a nifty trick to find all available cmdlets in the SharePoint Online management shell:

Get-Command | ? { $_.ModuleName -eq "Microsoft.Online.SharePoint.PowerShell" }
sharepoint online powershell cmdlet list

This lists down all cmdlets from SharePoint Online Management Shell.

Similarly, to get all cmdlets in PnP PowerShell module, use:

Get-Command | Where { $_.ModuleName -eq "PnP.PowerShell" }

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *