Settings and activity
4 results found
-
1 vote
An error occurred while saving the comment Anonymous shared this idea ·
-
366 votes
Anonymous supported this idea ·
-
2 votes
Anonymous shared this idea ·
-
183 votes
Anonymous supported this idea ·
Achieved the above using the following:
$KeyExpressions = @(
"*.Output.Package.InstallationDirectoryPath",
"*.Package.CustomInstallationDirectory")
$OctopusParameters.GetEnumerator() | % {
foreach ($KeyExpression in $KeyExpressions)
{
if ($_.key -like $KeyExpression)
{
Write-Host ""
Write-Host "Key: $($_.key)"
Write-Host "Value: $($_.value)"
# do what you want here...
}
}
}