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 presents both Azure PowerShell (typically associated with Windows/PowerShell environments) and Azure CLI (cross-platform) examples in parallel, but consistently lists Azure PowerShell first in every code example section. Instructions for opening a terminal default to PowerShell (in VS Code) before mentioning Bash, and there is more detailed explanation of PowerShell-specific syntax (such as the backtick escape character) than for Bash. Visual Studio Code is listed as a prerequisite, which is cross-platform, but no mention is made of other editors or shells common on Linux. There are no outright missing Linux examples, but the ordering and depth of PowerShell coverage indicate a Windows-first bias.
Recommendations
  • Alternate the order of Azure CLI and Azure PowerShell examples, or present Azure CLI first to better reflect cross-platform usage.
  • Ensure explanations of Bash/Linux shell syntax (such as escape characters and line continuation) are as detailed as those for PowerShell.
  • Explicitly mention that all CLI examples work on Linux, macOS, and Windows, and clarify that Bash is the default shell on Linux/macOS.
  • Consider referencing other popular Linux editors (e.g., nano, vim) or terminal environments in addition to Visual Studio Code.
  • Where possible, use neutral language (e.g., 'open a terminal') instead of 'open a PowerShell terminal', unless the example is PowerShell-specific.
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 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-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased

Flagged Code Snippets

Get-AzResource -ResourceGroupName $mrgname
Connect-AzAccount
$definitionid = (Get-AzManagedApplicationDefinition -ResourceGroupName appDefinitionGroup -Name sampleManagedApplication).ManagedApplicationDefinitionId
Get-AzManagedApplication -Name demoManagedApplication -ResourceGroupName applicationGroup
Get-AzManagedApplication -Name demoManagedApplication -ResourceGroupName applicationGroup | Select-Object -ExpandProperty Properties
Get-AzManagedApplicationDefinition -ResourceGroupName appDefinitionGroup
Get-AzRoleAssignment -ResourceGroupName $mrgname -RoleDefinitionName Owner