SharePoint Online Management Shell Silent Install (How-To Guide)

The SharePoint Online Management Shell is a tool that contains a Windows PowerShell Module to manage your SharePoint Online subscription in Office 365. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the SharePoint Online Management Shell from the command line using the MSI installer.

How to Install the SharePoint Online Management Shell Silently

SharePoint Online Management Shell Silent Install (MSI)

  1. Navigate to: https://go.microsoft.com/fwlink/p/?LinkId=255251
  2. Download the SharePointOnlineManagementShell_x_x.msi to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • MsiExec.exe /i SharePointOnlineManagementShell_x_x.msi ALLUSERS=1 /qn
  6. Press Enter

After a few moments you will find SharePoint Online Management Shell entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:SharePoint Online Management Shell
Vendor:Microsoft Corporation
Architecture:x86_x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i SharePointOnlineManagementShell_x_x.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x SharePointOnlineManagementShell_x_x.msi /qn
Repair Command:MsiExec.exe /fa SharePointOnlineManagementShell_x_x.msi /qn
Download Link:https://go.microsoft.com/fwlink/p/?LinkId=255251
PowerShell Script:https://silentinstallhq.com/sharepoint-online-management-shell-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create a SharePoint Online Management Shell Installation Log File

The SharePoint Online Management Shell installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

SharePoint Online Management Shell Silent Install (MSI) with Logging

MsiExec.exe /i SharePointOnlineManagementShell_x_x.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\SharePointOnlineManagementShell-Install.log"

How to Uninstall the SharePoint Online Management Shell Silently

Check out the SharePoint Online Management Shell Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

SharePoint Online Management Shell 16.0.21909.12000 Silent Uninstall (MSI)

MsiExec.exe /x {95160000-115B-0409-1000-0000000FF1CE} /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.