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
windows_first
powershell_heavy
windows_tools
Summary
The documentation provides both Azure CLI (Bash) and Azure PowerShell examples for all major scenarios, maintaining parity in sample code. However, there are signs of Windows bias: PowerShell is consistently presented as an equal alternative to Bash, despite Bash being the default shell on most Linux systems. Windows-specific tools and APIs (e.g., CommandLineToArgvW, Connect-AzAccount, Start-Sleep) are referenced without mentioning Linux equivalents. PowerShell-specific error handling and scripting patterns are explained in detail, while Bash error handling is only briefly mentioned. The documentation sometimes references Windows APIs and tools before their Linux counterparts, and the use of PowerShell is normalized as a cross-platform scripting language, which may not reflect typical Linux workflows.
Recommendations
  • Explicitly mention that Bash/CLI scripting is the default and most common choice for Linux environments, and clarify PowerShell's cross-platform status.
  • When referencing Windows-specific APIs (e.g., CommandLineToArgvW), provide Linux equivalents or clarify their relevance only to Windows containers.
  • Expand Bash error handling guidance (e.g., set -e, trap) to match the detail given for PowerShell.
  • When discussing script execution, note differences in shell environments (e.g., Bash vs. PowerShell) and provide links to Linux shell scripting best practices.
  • Avoid normalizing PowerShell as the default scripting language for cross-platform scenarios; present it as an option, not the standard.
  • Where possible, include troubleshooting and debugging tips for Bash scripts, not just PowerShell.
  • Clarify that some referenced tools (e.g., Connect-AzAccount, Start-Sleep) are PowerShell-specific and suggest Linux alternatives if applicable.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-11 00:00 #108 completed Clean Clean
2025-08-11 00:00 #77 completed Biased Biased
2025-08-10 00:00 #76 completed Clean Clean
2025-08-09 00:00 #75 completed Clean Clean
2025-08-08 00:00 #74 completed Clean Clean
2025-08-07 00:00 #73 completed Biased Biased
2025-08-06 00:00 #72 completed Clean Clean
2025-08-05 00:00 #71 completed Clean Clean
2025-08-04 00:00 #70 cancelled Biased Biased
2025-08-03 00:00 #69 completed Biased Biased
2025-08-02 00:00 #68 cancelled Clean Clean
2025-08-01 00:00 #67 completed Biased Biased
2025-07-31 00:00 #66 completed Clean Clean
2025-07-30 00:00 #65 completed Clean Clean
2025-07-29 00:01 #64 completed Clean Clean
2025-07-13 21:37 #48 completed Clean Clean

Flagged Code Snippets