SharePoint Power Shell
现在微软十分推荐用power shell部署SharePoint 2010, 熟悉SharePoint 2007的都知道部署SharePoint 2007运用stsadm.exe来部署或者管理。\
今天看了下TED (写Inside WSS 3.0) 讲解关于SharePoint 2010 Integration Power Shell。http://channel9.msdn.com/learn/courses/SharePoint2010Developer/SharePoint2010DeveloperRoadmap/SharePoint2010IntegrationwithPowerShell/
于是也找了个用GET-SPFEATURE指令试了试Powshell 结合SharePoint 2010。
打开SharePoint PowerShell Manager.
可以通过GET-HELP指令来查看指令的操作。
Get-help Get-SPFeature -full
get-spfeature | where-object{$_.DisplayName -like "*Access" -and $_.Scope -like "site"} | ft

这样我们就可以查看到所有已Access结尾命名的feature 了并且是可以在SITE范围内激活的。
TIP: 用Add-PSSnapin Microsoft.SharePoint.Powershell 指令来加载支持SharePoint (前提是你已经装过Microsoft.SharePoint.PowerShell)
浙公网安备 33010602011771号