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 examples are labeled as 'Formatted for PowerShell' and always appear immediately after the Bash examples. There is no explicit mention of Linux or macOS, and the PowerShell examples may suggest a Windows-first approach. However, both platforms are technically covered. No Linux-specific tools or shell patterns are discussed, and the portal instructions are platform-agnostic.
Recommendations
  • Explicitly mention that the Bash examples are suitable for Linux and macOS users, and the PowerShell examples are for Windows users.
  • Consider using tabbed code blocks labeled 'Bash (Linux/macOS)' and 'PowerShell (Windows)' for greater clarity.
  • Ensure that any platform-specific prerequisites (e.g., installing Azure CLI on Linux) are referenced or linked.
  • If possible, provide a short note at the start of the CLI section explaining which example to use based on the user's operating system.
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 Clean Clean
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
    $apimID=$(az apim show --name <apim-name> --resource-group <resource-group-name> --query "id" --output tsv)