sharepoint 2016開啓project service正常shell
進入project service沒法看到添加pwa按鈕:數據庫
採用powershell建立project網站集,具體步驟以下ide
1.輸入License網站
Enable-ProjectServerLicense –Key "23CB6-N4X8Q-WWD7M-6FHCW-9TPVP"url
2.建立網站集pwa
New-SPContentDatabase -WebApplication http://sp2016-1/ sp2016_pwa_Content3d
#先建立數據庫,最好將pwa的db和其餘站點集的db分開,新建的db爲sp2016_pwa_Contentblog
New-SPSite -ContentDatabase "WSS_Content" –Template "pwa#0" -Name "Project service1" -URL http://sp2016-1/sites/pwa1 -OwnerAlias "test\admin" get
# URL http://sp2016-1/sites/pwa1 是新建的pwa站點的地址it
#」Project service1」是你project service的名稱,上圖中service的名稱是:Project service1
3.激活功能
Enable-SPFeature –Identity "8581a8a7-cf16-4770-ac54-260265ddb0b2" -url "http://sp2016-1/sites/pwa1 "
Enable-SPFeature –Identity "697c64b9-3dff-4981-9394-0a62632120ec" -url "http://sp2016-1/sites/pwa1 "
Enable-SPFeature –Identity "1d253548-c70d-40fd-9930-9d313bedc359" -url "http://sp2016-1/sites/pwa1 "
Enable-SPFeature –Identity "ad739f9e-1525-4dec-a25e-10821ca70c95" -url "http://sp2016-1/sites/pwa1 "