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 consistently presents Azure PowerShell (a Windows-centric tool) examples alongside Azure CLI, often listing PowerShell before CLI or with equal prominence. All command-line examples are either Azure CLI or PowerShell, with no mention of Bash, Linux shell scripting, or native Linux tools. Installation and usage instructions focus on PowerShell and Azure CLI, which, while cross-platform, are more familiar to Windows users. There is no explicit Linux shell (bash/zsh) or macOS-specific guidance, and PowerShell is treated as a first-class citizen, reinforcing a Windows-centric workflow.
Recommendations
  • Add explicit Bash/Linux shell examples for all command-line operations, especially for scripting and programmatic evaluation.
  • Clarify that Azure CLI is cross-platform and provide Linux/macOS installation instructions or links.
  • When listing tools or examples, lead with Azure CLI (as it is more common on Linux/macOS) before PowerShell.
  • Include notes or sections for using these commands in native Linux/macOS environments, addressing any differences (e.g., file paths, environment variables).
  • Mention and link to relevant Linux-native editors (e.g., Vim, nano) or scripting approaches where appropriate.
  • Review and adjust language to avoid implying PowerShell is the default or preferred shell, especially in cross-platform contexts.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

$results = Get-AzResourceGroupDeploymentWhatIfResult `
  -ResourceGroupName ExampleGroup `
  --template-file "what-if-after.bicep"
Install-Module -Name Az -Force
New-AzResourceGroup `
  -Name ExampleGroup `
  -Location centralus
New-AzResourceGroupDeployment `
  -ResourceGroupName ExampleGroup `
  -TemplateFile "what-if-before.bicep"
New-AzResourceGroupDeployment `
  -Whatif `
  -ResourceGroupName ExampleGroup `
  -TemplateFile "what-if-after.bicep"
New-AzResourceGroupDeployment `
  -ResourceGroupName ExampleGroup `
  -Confirm `
  -TemplateFile "what-if-after.bicep"
foreach ($change in $results.Changes)
{
  $change.Delta
}
Remove-AzResourceGroup -Name ExampleGroup