Skip to content

Instantly share code, notes, and snippets.

View chrisfowles's full-sized avatar
😀

Chris Fowles chrisfowles

😀
  • Sydney, NSW, Australia
View GitHub Profile
@chrisfowles
chrisfowles / Compare-OctopusDeployConfig.ps1
Created September 18, 2018 07:06
Compare appSettings configured in OctopusDeploy variables and Local *.config files
param (
[Parameter(Mandatory=$true)][string]$OctopusDeployApiKey,
[Parameter(Mandatory=$true)][string]$OctopusDeployAddress,
[Parameter(Mandatory=$true)][string]$OctopusDeployProjectId
)
$ExcludePaths = @('bin', 'Partials', 'Debug', 'Release', 'obj')
$OctopusAuth = @{
'X-Octopus-ApiKey' = $OctopusDeployApiKey