开始-【Microsoft SharePoint 2010 Products】-【SharePoint 2010 Management Shell】
PS C:\Users\Administrator> cd\ PS C:\> $web1 = Get-SPWeb "http://IP地址和端口/网站名称" PS C:\> $web1.ID
运行完之后会出现这样的结果
Guid
----
f0b10af7-4e2b-40d6-97be-337f101c0d41
这串看不懂的东西就是SharePoint 的WebID
获取SharePoint WebID
本文介绍了一种通过PowerShell命令获取SharePoint站点WebID的方法。具体步骤为:打开SharePoint 2010 Management Shell,使用Get-SPWeb cmdlet获取指定URL的SharePoint网站,然后输出该网站的唯一标识符(WebID)。
77

被折叠的 条评论
为什么被折叠?



