我们最近在Windows Server 2012 R2上安装了SharePoint 2013 当我尝试使用Windows PowerShell运行Enable-SPSessionStateService -DefaultProvision时,会出现以下错误。我在这里想念的是什么?请帮忙。
PS C:\Users\sysuser> Enable-SPSessionStateService -DefaultProvision
Enable-SPSessionStateService : The term 'Enable-SPSessionStateService' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Enable-SPSessionStateService -DefaultProvision
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Enable-SPSessionStateService:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException