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 PowerShell and Azure CLI examples for deploying ARM templates, but PowerShell (a Windows-centric tool) is consistently listed first in each example section. The prerequisites recommend Visual Studio Code and the Resource Manager Tools extension, which are cross-platform, but there is no mention of Linux-native editors or workflows. The troubleshooting note refers to 'verbose' and 'debug' switches without clarifying their usage in both CLI and PowerShell contexts. There are no explicit Linux shell (bash) examples or references to Linux-specific tools or workflows.
Recommendations
  • Alternate the order of PowerShell and Azure CLI examples, or default to Azure CLI first, as it is cross-platform and more common on Linux.
  • Explicitly mention that all CLI commands work on Linux, macOS, and Windows, and provide bash/zsh syntax where appropriate.
  • Include Linux-native editor options (e.g., vim, nano) in the prerequisites, or clarify that Visual Studio Code is available on Linux.
  • Add a note or section on running these commands in a Linux environment, including any differences in file paths or environment setup.
  • Clarify the use of 'verbose' and 'debug' switches in both PowerShell and Azure CLI contexts.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

$templateFile = "{path-to-the-template-file}"
$parameterFile="{path-to-azuredeploy.parameters.dev.json}"
New-AzResourceGroup `
  -Name myResourceGroupDev `
  -Location "East US"
New-AzResourceGroupDeployment `
  -Name devenvironment `
  -ResourceGroupName myResourceGroupDev `
  -TemplateFile $templateFile `
  -TemplateParameterFile $parameterFile
$parameterFile="{path-to-azuredeploy.parameters.prod.json}"
New-AzResourceGroup `
  -Name myResourceGroupProd `
  -Location "West US"
New-AzResourceGroupDeployment `
  -Name prodenvironment `
  -ResourceGroupName myResourceGroupProd `
  -TemplateFile $templateFile `
  -TemplateParameterFile $parameterFile