PowerShell

3 notes · 23 Nov 2026 – 30 Nov 2026

Week 49

30 Nov – 6 Dec 2026

1 note

  1. Azure CLI --no-wait discards the command result, so az acr build --no-wait prints no run ID

    A script that read the run ID from az acr build --no-wait got empty output, because Azure CLI discards the result of any command run with --no-wait and prints the ID only as a warning on stderr.

Week 48

23–29 Nov 2026

2 notes

  1. Measure-Object -Sum over an empty pipeline throws under StrictMode

    With Set-StrictMode -Version Latest, Measure-Object -Sum returns nothing for an empty input, so reading .Sum throws a property-not-found error instead of giving 0.

  2. Azure Pipelines multi-command script steps hide failures in the middle unless you opt in to fail-fast

    An Azure Pipelines Bash or PowerShell step with several commands still reported success after docker build failed, because both tasks take their result from the exit code of the last command only.

All topics