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
missing_linux_example
Summary
The documentation page demonstrates a Windows bias by using PowerShell-style variable assignment (e.g., $VAR = ...) and line continuations (`) in all CLI examples, which are specific to Windows/PowerShell environments. There are no equivalent bash/Linux shell examples, nor any notes on how to adapt the commands for non-Windows platforms. This may confuse or exclude Linux/macOS users who use bash/zsh shells.
Recommendations
  • Provide parallel bash/zsh examples for all CLI commands, using appropriate variable assignment (e.g., VAR=...) and line continuation (\).
  • Add a note at the top indicating which shell the examples are for, and link to guidance for adapting commands to other shells.
  • Where possible, use shell-agnostic syntax or clearly separate PowerShell and bash examples.
  • Explicitly mention that Azure CLI is cross-platform and provide links to installation/use instructions for Linux/macOS.
  • Review and update all code blocks to ensure Linux/macOS users can follow the steps without confusion.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-11 00:00 #240 completed Clean Clean
2026-01-10 00:00 #237 completed Clean Clean
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

    az role assignment create --assignee $OID `
    --role "Owner" `
    --scope "/subscriptions/$SUBID"
    
    $MYOID = az ad signed-in-user show --query id -o tsv
    Write-Output $MYOID
    
    $DEVCID = az devcenter admin devcenter show -n <devcenterName> --query id -o tsv
    Write-Output $DEVCID