首页 > 代码库 > sharepoint 2013 更换内容数据库方法

sharepoint 2013 更换内容数据库方法

更换应用程序网站内容数据库,打开sharepoint powershell 2013,管理员方式运行下面代码

 

Get-SPContentDatabase -WebApplication http://10.0.0.75:6011 | Dismount-SPContentDatabase

Mount-SPContentDatabase "WSS_Content_6011" -DatabaseServer "mossdb" -WebApplicationhttp://10.0.0.75:6011