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

Bias Types:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation consistently presents PowerShell (a Windows-centric tool) examples before Azure CLI examples, and uses PowerShell variable syntax in CLI examples. There is a notable emphasis on PowerShell scripts and terminology, which may be less familiar or accessible to Linux users. No native Linux shell (bash) or cross-platform scripting examples are provided, and there is no mention of Linux-specific tools or workflows. The documentation assumes familiarity with Windows/PowerShell patterns, which can create friction for Linux users.
Recommendations:
  • Alternate the order of PowerShell and Azure CLI examples, or present Azure CLI (which is cross-platform) examples first.
  • Use bash-style variable syntax in Azure CLI examples (e.g., RgName="<ResourceGroupName>") instead of PowerShell-style ($RgName).
  • Explicitly state that Azure CLI commands are cross-platform and can be run on Linux, macOS, and Windows.
  • Where possible, provide bash script examples for Linux users, especially in sections that involve scripting or automation.
  • Avoid exclusive references to Windows tools or patterns; ensure parity in instructions and terminology for both Windows and Linux environments.
  • Add a brief section or note on how to install and use Azure CLI and PowerShell on Linux, highlighting cross-platform support.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ✅ Clean

Flagged Code Snippets

# Set the variable values. $RgName = "<ResourceGroupName>" $EsanName = "<ElasticSanName>" # Update the Elastic San. Update-AzElasticSan -Name $EsanName -ResourceGroupName $RgName -PublicNetworkAccess Enabled
# Set the variable values. $RgName="<ResourceGroupName>" $EsanName="<ElasticSanName>" # Update the Elastic San. az elastic-san update \ --elastic-san-name $EsanName \ --resource-group $RgName \ --public-network-access enabled