在客戶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獲取成功。
感謝閱讀。