How to get farm ID/server CODE without installing License Management Center, or enter Central Administration?
Solution:
- Download a script tool from this link from the SharePoint server side: http://www.boostsolutions.com/software/FREETool/Get-LicenseCode.zip
- Unzip the file, and right-click the file ‘Get-LicenseCode.ps1′, select ‘Run With PowerShell’
- A file will be generated automatically under the same directory of the script file, the farm ID and server CODE will be included in.
Applies for: SharePoint 2010