Skip to content

Instantly share code, notes, and snippets.

@MartinMiles
Created April 1, 2019 17:54
Show Gist options
  • Save MartinMiles/73e26644a08ba1e70cc362758c179e58 to your computer and use it in GitHub Desktop.
Save MartinMiles/73e26644a08ba1e70cc362758c179e58 to your computer and use it in GitHub Desktop.
(Get-Content Web.config).replace('<add key="role:define" value="ContentDelivery" />', '<add key="role:define" value="ContentDelivery" /><add key="localenv:define" value="PreProd" />') | Set-Content Web.config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment