How to Get SharePoint Farm ID using PowerShell?

Requirement: Get SharePoint Farm ID to apply a third party product license to our SharePoint 2016 environment. How to Get SharePoint Farm ID? SharePoint farm id is a GUID which is uniquely identifies each farm. To get the Farm ID in SharePoint, use this handy PowerShell code. Just open SharePoint 2016 Management Shell…

Read more

Get All Users of SharePoint Farm-Web Application-Site Collection-Site using PowerShell

Requirement: Get all users of SharePoint Farm. SharePoint PowerShell to Get All Users in Farm PowerShell script to get all SharePoint users at Farm-Web Application-Site Collection-Web levels: This script can be used to get all users in site collection and export all users to excel. Get All Unique Users in SharePoint Farm…

Read more

How to Add User to Farm Administrator Group in SharePoint?

By default, the account which was used (logged in) to install SharePoint becomes the SharePoint Farm Administrator. There are situations, where we need to add additional Farm Administrators to our SharePoint farm in order to delegate the tasks. Follow these three steps to add a farm administrator in SharePoint. Add user to…

Read more

Set SharePoint Web Application or Farm to Read Only Mode

During maintenance/migrations, its inevitable to set the entire SharePoint Farm or at least Web Applications to read-only mode for some time. SharePoint doesn’t provide any direct ways to set the entire web application or Farm to Read-only mode, but we’ve these options available to set read only access to either SharePoint Web…

Read more