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:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a strong Windows bias by exclusively providing deployment instructions and code samples using Azure PowerShell, with no mention of Azure CLI or Bash alternatives. The instructions reference Windows-specific behaviors (e.g., right-click to paste in the shell window), and there are no Linux/macOS-specific guidance or cross-platform notes. The 'Next steps' section also links only to PowerShell-based restore instructions.
Recommendations:
  • Provide equivalent Azure CLI (az) examples for deploying the Bicep template, as Azure CLI is cross-platform and widely used on Linux/macOS.
  • Include Bash shell instructions and note any differences in command usage or environment setup for Linux/macOS users.
  • Avoid Windows-specific instructions such as 'right-click to paste' or clarify how to paste in terminals on different operating systems.
  • In the prerequisites, mention both Azure PowerShell and Azure CLI as supported tools for deploying Bicep files, and link to installation guides for both.
  • In the 'Next steps' section, add links to restore instructions using Azure CLI or portal, not just PowerShell.
  • Consider a 'Platform differences' note or table summarizing how to perform each step on Windows, Linux, and macOS.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-19 13:51 #54 completed ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ 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