diff --git a/octopus-samples-instances/api-scripts/call-enforce-space-standards-runbook.ps1 b/octopus-samples-instances/api-scripts/call-enforce-space-standards-runbook.ps1 index fa7b3bf..684e684 100644 --- a/octopus-samples-instances/api-scripts/call-enforce-space-standards-runbook.ps1 +++ b/octopus-samples-instances/api-scripts/call-enforce-space-standards-runbook.ps1 @@ -80,6 +80,6 @@ function Invoke-OctopusApi $spacesList = Invoke-OctopusApi -OctopusUrl $octopusUrl -endPoint "spaces?skip=0&take=1000" -spaceId $null -apiKey $OctopusApiKey -item $null -method "GET" foreach ($space in $spacesList.Items) { - Write-Host "Queing a runbook run for $($space.Name) using the space id $($space.Id)" + Write-Host "Queueing a runbook run for $($space.Name) using the space id $($space.Id). The runbook will run on $AdminInstanceUrl for the environment $AdminEnvironmentName in the space $AdminSpaceName" octo run-runbook --project "Standards" --runbook "Enforce Space Standards" --environment $AdminEnvironmentName --variable="Project.SpaceStandard.SpaceId:$($space.Id)" --server="$AdminInstanceUrl" --apiKey="$AdminInstanceApiKey" --space="$AdminSpaceName" } \ No newline at end of file