Install SharePoint Online PowerShell module with PowerShell


We previously installed SignIn assistant and Microsoft Online PowerShell module.Today, we’ll install SharePoint Online PowerShell module :

$SharePointOnlineUrl = "" # SharePoint Online Module
Start-BitsTransfer -Source $SharePointOnlineUrl -Description "SharePoint Online" -Destination $env:temp -DisplayName "SharePoint Online"
Start-Process -FilePath msiexec.exe -ArgumentList "/i $env:temp$(Split-Path $SharePointOnlineUrl -Leaf) /quiet /passive"
Start-Sleep -Seconds 5
Remove-Item -Path $env:temp$(Split-Path $SharePointOnlineUrl -Leaf)

Note : Signin assistant is a prerequisite.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.