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:
⚠️ windows_first
Summary:
The documentation exhibits a mild 'windows_first' bias in the prerequisites section, where Bash usage is described specifically as 'the Bash shell on Windows 10' and installation instructions are linked for Windows Subsystem for Linux (WSL) on Windows 10. There is no mention of native Linux or macOS environments, and no guidance for users running the Azure CLI from those platforms. All CLI examples use Bash syntax, which is cross-platform, but the only explicit environment guidance is for Windows users.
Recommendations:
  • Update the prerequisites section to mention that the Azure CLI and Bash examples work natively on Linux and macOS, not just on Windows (WSL).
  • Provide installation links or brief instructions for Bash and Azure CLI on Linux and macOS, in addition to the current WSL/Windows guidance.
  • Clarify that the examples are cross-platform and specify any differences (if any) for Linux, macOS, or Windows Command Prompt/PowerShell.
  • Consider adding a short note or table summarizing how to adapt the examples for Windows Command Prompt or PowerShell, if relevant.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

export clusterName=CLUSTERNAME export resourceGroupName=RESOURCEGROUPNAME export clusterType=spark export httpCredential='PASSWORD' export AZURE_STORAGE_ACCOUNT=STORAGEACCOUNTNAME export clusterConfiguration=@/mnt/c/HDI/config.json az hdinsight create \ --name $clusterName \ --resource-group $resourceGroupName \ --type $clusterType \ --http-password $httpCredential \ --storage-account $AZURE_STORAGE_ACCOUNT \ --cluster-configuration $clusterConfiguration