Saturday, October 24, 2020
Home Microsoft 365 How to Install Uninstall or Update Cmdlets for SharePoint Online

How to Install Uninstall or Update Cmdlets for SharePoint Online

By default, you are not allowed to run scripts on a Windows computer, so before you can run any scripts you must allow that.

Set-ExecutionPolicy -ExecutionPolicy  Unrestricted
PowerShell command showing Set-ExecutionPolicy

SharePoint Online Management Shell

Install

 Install-Module -Name Microsoft.Online.SharePoint.PowerShell
PowerShell Command showing Install Cmdlets for SharePoint Online

Uninstall

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

Update

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

PnP PowerShell

Install

Install-Module SharePointPnPPowerShellOnline

Uninstall

Uninstall-Module -Name SharePointPnPPowerShellOnline

Update-Module SharePointPnPPowerShellOnline

Most Popular

Microsoft 365 All Tenants in the admin center

More than one-third of admins that use the Microsoft 365 admin center manage multiple tenants. This applies to two-thirds of enterprise customers...

Windows Defender Advanced Threat Protection (ATP) software is undergoing some changes

Microsoft has announced that its Windows Defender Advanced Threat Protection (ATP) software is undergoing some changes. The antivirus program is expanding beyond...

Improvements to SharePoint news feeds and digests

The news feed delivers an intelligent view of news, targeted to you based on factors like your role or location, and further...

Microsoft Endpoint Management Deploy an application to a device

From the Microsoft Endpoint Management admin center, you can initiate an application install in real time for a tenant attached device.