Detect the Installed SharePoint 2016 Edition Using C#

In this article, I will show how to

Detect the SharePoint 2016 Edition and the Farm Build Number using C#.


Detecting the SharePoint Edition via c# is not just line of code as detecting the SharePoint Build Number!

To detect the SharePoint 2016 Edition, it requires knowing the corresponding SKU.

The Stock Keeping Unit (SKU) is a unique set of characters identification code for a particular product/service. Read more at SKU.)


Get SharePoint 2016 Edition using C#

Based on the installed product SKU, you can detect the corresponding SharePoint 2016 Edition via C# as the following:

Continue reading Detect the Installed SharePoint 2016 Edition Using C#

Advertisements

Detect the Installed SharePoint Edition Using PowerShell

In this article, I will explain

How to detect the installed SharePoint Edition Using PowerShell?


Prerequisites

Before you getting started, you should make sure that the current user has sufficient privilege to run PowerShell Script in SharePoint, Read more at Add-SPShellAdmin

Note: You can directly use the farm account to run this script.


Script Functions

There is a lot of articles talk about this topic, but the new here is detecting the SharePoint 2016 Edition based on the SKU ID. Continue reading Detect the Installed SharePoint Edition Using PowerShell