采用powershell创建project网站集,具体步骤如下

1.输入License

Enable-ProjectServerLicense –Key "23CB6-N4X8Q-WWD7M-6FHCW-9TPVP"

2.创建网站集

New-SPSite -ContentDatabase "WSS_Content" –Template "pwa#0" -Name "Project Web App" -OwnerAlias "ad\administrator"

3.激活功能

Enable-SPFeature –Identity "8581a8a7-cf16-4770-ac54-260265ddb0b2" -url "http://sp16"
Enable-SPFeature –Identity "697c64b9-3dff-4981-9394-0a62632120ec" -url "http://sp16"
Enable-SPFeature –Identity "1d253548-c70d-40fd-9930-9d313bedc359" -url "http://sp16"
Enable-SPFeature –Identity "ad739f9e-1525-4dec-a25e-10821ca70c95" -url "http://sp16"

posted on 2018-05-29 14:01  孤独斗士  阅读(277)  评论(0编辑  收藏  举报