SharePoint 获取 WebID ,查询 WebID

开始-【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

猜你喜欢

转载自af8991.iteye.com/blog/2038705