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
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page primarily uses Azure CLI examples, which are cross-platform, but it contains a key example for passing parameters that uses PowerShell-style variable assignment ($params = ...) and single quotes in JSON, which is not valid in Bash or Linux shells. There are no equivalent Linux/Bash examples for this scenario, and the only variable assignment shown is in a Windows/PowerShell style. This may confuse or exclude Linux/macOS users.
Recommendations:
  • Provide both PowerShell and Bash/Linux examples for variable assignment and parameter passing, especially for the --parameters argument.
  • Use JSON syntax compatible with both shells, or clearly distinguish between Windows/PowerShell and Linux/Bash usage.
  • Add a note or section clarifying cross-platform differences in CLI usage, particularly for scripting and variable handling.
  • Review all code snippets to ensure they are either shell-agnostic or have equivalents for both major platforms.
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