We are happy to announce that SharePoint Online Management Shell is now also available from PowerShell gallery. Starting from August 2018 release, we will start also publishing these cmdlets also to PowerShell Gallery on monthly basis.
If your operating system is using PowerShell 5.0 or newer, you can simply install SharePoint Online Management Shell by using the following command:
- Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Following videos show on how to get started with the SharePoint Online Management Shell:
Frequently Asked Questions
What's required for installing the module from PowerShell Gallery?
- You will need to be using PowerShell 5.0 or newer, have admin permissions in your computers and internet connectivity. See more details from the PowerShell Gallery documentation.
Will SharePoint Online Management Shell support PowerShell Core 6?
- SharePoint Online PowerShell has a dependency on the SharePoint Client Side Object Model (CSOM), which will first need to support .NET Standard/Core, before PowerShell Core version can be provided. This work is currently in the roadmap, but we cannot provide exact ETA at this point.
What's the difference between SharePoint Online Management Shell and PnP PowerShell?
- SharePoint Online Management Shell is targeted for SharePoint and OneDrive administrative setting management in your tenant. These cmdlets are shipped by SharePoint engineering on monthly basis. PnP PowerShell cmdlets do also have tenant cmdlets, but you can also use that for managing site level settings. PnP PowerShell is an open-source initiative which is dependent on the contributions from the customers and partners. We are potentially looking into combining these two modules in the long-term future, but there is no ETA and plans have not yet been locked.
I've noticed that current SharePoint Online Management Shell documentation is missing something or has typos. How should we report these?
- SharePoint Online Management Shell documentation welcomes contributions. We do welcome pull requests and issues in GitHub. Each article in the documentation has an "Edit" button, which you can click to get started on submitting a change request (pull request). You can also report any issues on the documentation by using the GitHub issue list and we will try to address those as soon as possible. Thank you for your input advance.
References
- Getting started with SharePoint Online Management Shell video in YouTube
- SharePoint Management Shell at PowerShell Gallery
- SharePoint Online Management Shell documentation
Welcome to the SharePoint Blog! Learn best practices, news, and trends directly from the SharePoint team.