This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ powershell_heavy
⚠️ missing_linux_example
Summary:
The documentation primarily uses Azure CLI examples, which are cross-platform, but includes a parameter example using PowerShell variable assignment ($params = ...), which is not valid in Bash or other Unix shells. There are no equivalent Linux/Bash examples for passing parameters, and the only variable assignment shown is in PowerShell syntax. This may confuse Linux or macOS users.
Recommendations:
  • Provide both PowerShell and Bash examples for variable assignment and parameter passing, e.g., show how to assign and use parameters in Bash: params='{ "name": "firstMsi", "location": "northeurope" }' and then use --parameters "$params".
  • Explicitly note that the Azure CLI commands work on Windows, Linux, and macOS, and clarify any OS-specific syntax differences.
  • Where variable assignment or scripting is shown, always provide both Windows (PowerShell) and Linux/macOS (Bash) variants side by side.
  • Review for any other subtle Windows-centric patterns (such as path separators or environment variable syntax) and ensure parity in examples.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ✅ Clean
2025-09-15 00:00 #112 completed ✅ Clean
2025-09-14 00:00 #111 completed ✅ Clean
2025-09-13 00:00 #110 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

$params = "{ 'name': 'firstMsi', 'location': 'northeurope' }" az devcenter dev environment create --dev-center-name <devcenterName> --project-name <projectName> --environment-name <environmentName> --environment-type <environmentType> --environment-definition-name <environmentDefinitionName> --catalog-name <catalogName> --parameters $params