We all know the big gap between PowerShell Cmdlets available for SharePoint Server (On-Premises) and SharePoint Online (Office365), which made things bit difficult for administrators as they had to use or understand Client Side Object Model (CSOM) to get very basic task done on SharePoint Online ¹ . But now thanks to OfficeDev/PnP we have got lot more powerful and useful cmdlets to add in our arsenal.
To get started you have two setups available PnPPowerShellCommands15.msi and PnPPowerShellCommands16.msi, which you can download from here. If you are wondering what it means by 15 and 16 refer to this, basically 15 is more supported towards Server (On-Premises) version of SharePoint and 16 is more targeted toward SharePoint Online version of CSOM SDK ².
After completing the installation, you will find OfficeDev/PnP-PowerShell Module added when you do Get-Module -ListAvailable
As you can see here there is a clear distinction in the Namespace used to differentiate Module available thru Microsoft and OfficeDevPnP, though Noun prefix is kept same “SPO”, as they might be merged moving ahead? I hope.
To get the list of all the cmdlets available in OfficeDevPnP.PowerShell.Commands use following,