Created
January 26, 2016 06:45
-
-
Save Tesla9527/89513b597d3e097b5b7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$connectionString = "Data Source=shaappt0001;Initial Catalog=Bpm;Persist Security Info=true;User ID=sa;PWD=Passw0rd;Packet Size=4096;" providerName="System.Data.SqlClient" | |
$webConfigPath = "%teamcity.build.workingDir%\Bpm\web.config" | |
$xml = [xml](get-content $webConfigPath) | |
$root = $xml.get_DocumentElement(); | |
$root.connectionStrings.add.connectionString = $connectionString | |
$xml.Save($webConfigPath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment