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 page demonstrates a Windows bias by providing deployment examples and file path conventions primarily for Windows environments. Azure PowerShell is featured prominently, and all PowerShell examples use Windows-style paths (e.g., C:\MyTemplates\...). There are no Linux/macOS-specific examples, nor any mention of Bash, shell scripting, or Linux file paths. Visual Studio Code is referenced as the editor, but no cross-platform CLI or scripting guidance is provided for Linux users.
Recommendations
  • Add Linux/macOS examples for Azure CLI and PowerShell, using POSIX-style file paths (e.g., /home/user/templates/storage.bicep).
  • Include Bash or shell scripting examples alongside PowerShell, especially for deployment commands.
  • Explicitly mention that Azure CLI and Bicep CLI are cross-platform, and provide installation and usage notes for Linux/macOS.
  • Clarify that Visual Studio Code and Bicep extension are available on Linux/macOS, and provide relevant links.
  • Where file paths are shown, provide both Windows and Linux/macOS variants, or use environment-agnostic placeholders.
  • Add a note or section on deploying from Linux environments, including any differences or considerations.
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

using './main.bicep'

param intFromEnvironmentVariables = int(readEnvironmentVariable('intEnvVariableName'))
New-AzResourceGroupDeployment `
  -Name ExampleDeployment `
  -ResourceGroupName ExampleResourceGroup `
  -TemplateFile C:\MyTemplates\storage.bicep `
  -TemplateParameterFile C:\MyTemplates\storage.bicepparam
New-AzResourceGroupDeployment `
  -Name ExampleDeployment `
  -ResourceGroupName ExampleResourceGroup `
  -TemplateFile C:\MyTemplates\storage.bicep `
  -TemplateParameterFile C:\MyTemplates\storage.parameters.json
New-AzResourceGroupDeployment `
  -Name ExampleDeployment `
  -ResourceGroupName ExampleResourceGroup `
  -TemplateFile C:\MyTemplates\storage.bicep `
  -TemplateParameterFile C:\MyTemplates\storage.bicepparam `
  -storageAccountType Standard_LRS
New-AzResourceGroupDeployment `
  -Name ExampleDeployment `
  -ResourceGroupName ExampleResourceGroup `
  -TemplateFile C:\MyTemplates\storage.bicep `
  -TemplateParameterFile C:\MyTemplates\storage.parameters.json `
  -storageAccountType Standard_LRS