sharePoint常用命令
Posted furenjian
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sharePoint常用命令相关的知识,希望对你有一定的参考价值。
New-SPStateServiceDatabase -Name "StateServiceDatabase" | New-SPStateServiceApplication -Name "Microsoft SharePoint Server State Service" | New-SPStateServiceApplicationProxy -DefaultProxyGroup
stsadm -o activatefeature -url " http://mySite:21198/" -id "bb28df43-6425-4b99-a729-65f2222222" -force
$sts = Get-SPTrustedIdentityTokenIssuer
$uri = new-object System.Uri("http://mySite.com")
$sts.ProviderRealms.Add($uri, "http://mySite.com/_trust/default.aspx")
$sts.Update()
$SiteUrl = "http://mySite:21198/"
$Site = Get-SPWeb -identity $SiteUrl
$RootFolder = $Site.RootFolder;
$RootFolder.WelcomePage = "Index.aspx";
$RootFolder.Update();
$Site.Dispose()
以上是关于sharePoint常用命令的主要内容,如果未能解决你的问题,请参考以下文章