首页 > 代码库 > sharePoint常用命令
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常用命令
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。