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
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 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 ❌ Biased
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