在客户OnSite时遇到一个问题,其他部门在实现SharePoint的integration application实现他们需要的功能,在编写代码时需要使用SharePoint ID值。
那么如何获取SharePoint Farm的ID信息呢?可以通过PowerShell解决。
步骤如下:
1. 使用Administrator打开SharePoint Management Shell
2. 在打开的Management Shell,输入下面Powershell执行
(get-spfarm).id
3. SharePoint farm ID获取成功。
感谢阅读。