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
windows_tools
missing_linux_example
Summary
The documentation demonstrates a Windows bias by using Windows-style file paths (e.g., c:\export), referencing only Windows file system conventions, and omitting Linux/macOS equivalents. Both Azure PowerShell and Azure CLI examples use Windows paths, and there are no explicit Linux/macOS examples or notes about cross-platform usage. The documentation also links to deployment instructions that reference PowerShell, reinforcing a Windows-centric approach.
Recommendations
  • Provide Linux/macOS examples using appropriate file paths (e.g., /home/user/export or ./export).
  • Add notes clarifying that Azure CLI and PowerShell are cross-platform, and show how to run them on Linux/macOS.
  • When giving file path parameters, show both Windows and Linux/macOS formats side by side.
  • Link to deployment instructions that cover Bash or generic CLI usage, not just PowerShell.
  • Explicitly mention any platform-specific considerations or differences in behavior.
GitHub Create Pull Request

Scan History

Date Scan Status Result
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

   Export-AzTemplateSpec `
     -ResourceGroupName demoRG `
     -Name demoTemplateSpec `
     -Version 1.0 `
     -OutputFolder c:\export
   
   az template-specs export \
     --resource-group demoRG \
     --name demoTemplateSpec \
     --version 1.0 \
     --output-folder c:\export
   
   New-AzTemplateSpec `
     -Name movedTemplateSpec `
     -Version 1.0 `
     -ResourceGroupName newRG `
     -Location westus `
     -TemplateJsonFile c:\export\1.0.json
   
   az template-specs create \
     --name movedTemplateSpec \
     --version "1.0" \
     --resource-group newRG \
     --location "westus" \
     --template-file "c:\export\demoTemplateSpec.json"