sharepoint 2010/2013/2016

执行powershel:

get-spsite http://sp2013-2 | fl -Property *

先要使用加载sharepointsnapin:Get-PSSnapin -Registered | ? name -like "*sharepoint*" |Add-PSSnapin


如何确定SharePoint的Site Collection的ID_share


如果是sharepoint 2007,可以参照下面博客:

http://blog.csdn.net/pclzr/article/details/7576715