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
powershell_heavy
windows_first
missing_linux_example
Summary
The documentation page demonstrates a Windows bias by providing only Azure PowerShell deployment instructions, referencing PowerShell as a prerequisite, and omitting equivalent Azure CLI (cross-platform) or Bash examples. The deployment workflow and prerequisites are tailored to Windows users, with no guidance for Linux or macOS environments.
Recommendations
  • Add Azure CLI deployment instructions alongside the PowerShell example, as Azure CLI is cross-platform and widely used on Linux and macOS.
  • In the prerequisites section, mention both Azure PowerShell and Azure CLI as supported options, with installation links for each.
  • Wherever PowerShell-specific instructions are given (e.g., right-click to paste), provide equivalent instructions for Bash or other common Linux shells.
  • Ensure that all code snippets and deployment steps are presented in both PowerShell and CLI/Bash formats, or clearly indicate which environments are supported.
  • Review the 'Next steps' section to ensure that CLI and PowerShell links are given equal prominence.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-19 00:01 #85 completed Clean Clean
2025-07-19 13:51 #54 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

$projectName = Read-Host -Prompt "Enter a project name (limited to eight characters) that is used to generate Azure resource names"
$location = Read-Host -Prompt "Enter the location (for example, centralus)"

$resourceGroupName = "${projectName}rg"
$templateUri = "templateURI"

New-AzResourceGroup -Name $resourceGroupName -Location $location
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -projectName $projectName