get SharePoint Farm ID with PowerShell

If you need to get the ID of your SharePoint Farm, you need to use PowerShell. Getting it is easy you just need to enter the following two commands and the ID will appear.

$SPFarm = Get-spfarm
$SPFarm.ID

Comments

Popular posts from this blog

Refresh the User Information List in SharePoint

Get the mail address from a FieldUserValue Client Side vs Server Side