Connecting via PowerShell to SharePoint Online
SharePoint Online administration, as with basic tenant administration, can be simplified when using PowerShell commands to complete common or repetitive tasks. This recipe provides the steps to set up your PowerShell console to use SharePoint Online cmdlets and functions.
Getting ready
Using the skills learned in the Setting up the PowerShell environment recipe from Chapter 1, Office 365 Setup and Basic Administration, connect to your Office 365 tenant via PowerShell.
To access SharePoint Online PowerShell cmdlets and functions, you must download and install the SharePoint Online Management Shell (link included in the See also section of this recipe).
How to do it…
There are a set of numbered, sequential tasks that the reader needs to perform in order to complete the recipe:
- Download and install the SharePoint Online Management Shell.
- Import the module using the following code snippet:
Import-Module...