SharePoint is a beast unto itself; it could easily warrant us writing an entire book. In this chapter, we'll stay focused on the ways you can connect to SharePoint Online from PowerShell.
First, let's take a quick look at numerous ways you can interact with SharePoint:
- SharePoint Online Management Shell
- SharePoint REST API
- Client-side object model
- Legacy SharePoint web services and FrontPage Server Extensions
- SharePoint PnP PowerShell modules and others
SharePoint Online Management Shell is the PowerShell module that Microsoft provides which gives you access to high-level administrative functions. If you're accustomed to working in SharePoint on-premises, this is basically the subset of the function from central administration that is permitted in Office 365.
This module allows you to perform those administrative tasks that are above the level of a site collection administrator, such as creating a new site collection. Anything at...