Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_first
Summary
The documentation provides both Bash and PowerShell examples for Azure CLI commands, but the PowerShell versions are labeled as 'Formatted for PowerShell' and appear immediately after the Bash examples. There is a slight Windows bias in that PowerShell (a Windows-centric shell) is given parity with Bash, and the variable assignment syntax in PowerShell is shown for every step. However, Linux-specific considerations (such as shell differences or troubleshooting) are not discussed, and the examples do not mention alternative Linux tools or workflows beyond Bash.
Recommendations
  • Clarify which examples are for Bash (Linux/macOS) and which are for PowerShell (Windows), possibly using tabs or clearer headings.
  • Ensure that Linux/Bash examples are presented first, or at least equally, to avoid implicit prioritization of Windows/PowerShell.
  • Add troubleshooting notes or tips for common issues on Linux (e.g., permissions, environment differences).
  • Mention that Bash examples work on macOS as well as Linux, and clarify any platform-specific caveats.
  • Consider including a note about using WSL (Windows Subsystem for Linux) for users on Windows who prefer Bash.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-02-12 00:00 #237 in_progress Clean Clean
2026-02-11 00:00 #233 in_progress Clean Clean
2026-02-10 00:00 #229 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Biased Biased
2026-01-09 00:00 #87 cancelled Biased Biased
2026-01-08 00:00 #84 in_progress Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2026-01-06 18:40 #75 cancelled Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-22 00:00 #24 cancelled Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

    # Formatted for PowerShell
    $apicObjID=$(az apic show --name <api-center-name> `
        --resource-group <resource-group-name> `
        --query "identity.principalId" --output tsv)
    
    # Formatted for PowerShell
    $kvID=$(az keyvault show --name <kv-name> --resource-group <resource-group-name> --query "id" --output tsv)