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_tools
⚠️ windows_first
Summary:
The documentation provides deployment instructions using both Azure CLI and Azure PowerShell, but PowerShell is featured as a first-class option throughout, despite being primarily a Windows-centric tool. There are no Linux shell (bash/sh) or Mac-specific examples or notes, and PowerShell is presented alongside CLI as an equal, which may suggest a Windows-first or Windows-heavy approach. The documentation does not mention or link to Linux-native tools or workflows, and there is no explicit guidance for Linux or Mac users, even though Azure CLI is cross-platform.
Recommendations:
  • Clearly indicate that Azure CLI commands work on Windows, Linux, and Mac, and are recommended for cross-platform use.
  • De-emphasize Azure PowerShell as a primary deployment method, or move PowerShell examples to a secondary position after CLI.
  • Add explicit bash/zsh shell examples or notes for Linux/Mac users, especially for file paths and environment variable usage.
  • Include a section or note on platform compatibility, clarifying that PowerShell is available on Linux/Mac but is less common than bash/zsh.
  • Where PowerShell is shown, provide equivalent bash commands for common validation or resource management tasks.
  • Consider adding a 'Platform differences' or 'Cross-platform notes' section to address any OS-specific considerations.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean
2025-07-09 23:22 #6 cancelled ✅ Clean

Flagged Code Snippets

az group create --name exampleRG --location <SUPPORTED_REGION> az deployment group create --resource-group exampleRG --template-file main.bicep --parameters functionAppRuntime=powerShell functionAppRuntimeVersion=7.4
New-AzResourceGroup -Name exampleRG -Location <SUPPORTED_REGION> New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -functionAppRuntime "dotnet-isolated" -functionAppRuntimeVersion "8.0"
New-AzResourceGroup -Name exampleRG -Location <SUPPORTED_REGION> New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -functionAppRuntime "java" -functionAppRuntimeVersion "17"
New-AzResourceGroup -Name exampleRG -Location <SUPPORTED_REGION> New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -functionAppRuntime "node" -functionAppRuntimeVersion "20"
### [Azure PowerShell](#tab/azure-powershell)