Advertisements
Advertisements

I need to install the Sharepoint Online Powershell module but don’t understand how to download it or what I’m even supposed to download to get it on my computer. Resolution:

The following tutorial demonstrates how to install the Sharepoint Online Powershell module when using a version of the Windows operating system.

PowerShell comes with modules which are Windows PowerShell functionalities, put together into a unit. Many unique modules are popular among Windows developers, such as the Exchange Online PowerShell module, Azure PowerShell module, SQL Server PowerShell module, and the Active Directory PowerShell module, just to name a few. So naturally, there are also times when developers wish to find out the PowerShell module version of each of these units, which is what is outlined in the tutorial below.

How to Install Sharepoint Online Powershell Module

Notes:

The SharePoint Online Management Shell requires PowerShell 5 or newer.

Method One: Install Sharepoint Online Powershell Module for All Users

1. Open the elevated Windows Terminal app and then select the PowerShell shell from the menu. See this tutorial for how to open the elevated version of the Windows Terminal app: How to Open Elevated Windows Terminal as Administrator in Windows 11 [Tutorial].

2. Type the following command into the command line and then press the Enter key on your keyboard to execute it:

Install-Module -Name Microsoft.Online.SharePoint.PowerShell

Method Two: Install Sharepoint Online Powershell Module for Current user

If you are unable to open the elevated PowerShell shell because you do not have adminsitrator privilidges on the computer, you can install the SharePoint Online Management Shell only for the current user using the command below instead. Here is how to do that:

1. Open the elevated Windows Terminal app and then select the PowerShell shell from the menu. See this tutorial for how to open the elevated version of the Windows Terminal app: How to Open Elevated Windows Terminal as Administrator in Windows 11 [Tutorial].

2. Type the following command into the command line and then press the Enter key on your keyboard to execute it:

Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser

In conclusion, that is how to install the Sharepoint Online Powershell module.

Advertisements
Advertisements