Sharepoint 2013:Powershell脚本,用于将web.config设置从text / xml文件更改为配置文件 [英] Sharepoint 2013 : Powershell script for to change web.config settings from text/xml file to config file
问题描述
我需要PowerShell上的帮助才能更改web.config文件设置(appsettings和connectionstring)。
要求是我在文本文件中的数据如下所示,我需要在Web配置中添加/更新(SharePoint 2013)。
文本/ xml文件数据:
< ; connectionStrings>
< add name =" new target"的connectionString = QUOT; newCSvalue" />
$
< / connectionStrings>
提前致谢...
您好
请点击以下链接。
http://get-powershell.com/post /2008/07/29/Editing-WebConfig-Files-with-PowerShell.aspx
Hi,
I need help on powershell to change web.config file settings(appsettings and connectionstring).
requirement is i data in text file as below, i need add/update in web config(SharePoint 2013).
Text/xml file data:
<connectionStrings>
<add name="new target" connectionString="newCSvalue" />
</connectionStrings>
Thanks in advance...
Hi
Please follow below link.
http://get-powershell.com/post/2008/07/29/Editing-WebConfig-Files-with-PowerShell.aspx
这篇关于Sharepoint 2013:Powershell脚本,用于将web.config设置从text / xml文件更改为配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!