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
⚠️ powershell_heavy
⚠️ missing_linux_example
Summary:
The documentation provides both Bash and Azure PowerShell examples for all CLI steps, but the PowerShell examples are always presented alongside Bash, and sometimes before or equally with Bash. However, there are no explicit Windows-only tools or patterns, and the CLI commands are cross-platform. The language SDK examples (C#, JavaScript, Python, Java) are all shown with Bash commands, and the prerequisites note that Bash is required for Python, JavaScript, and Java, which may disadvantage Windows users who do not have Bash. There is a slight bias in that PowerShell is given parity with Bash throughout, but there are no explicit Linux-only or Windows-only steps. There are no examples for native Windows CMD usage, nor explicit Linux-only tools.
Recommendations:
  • Clarify in the prerequisites that Bash can be used on Windows via WSL, Git Bash, or similar, and provide links or instructions for Windows users.
  • Consider providing Windows CMD examples or clarify that PowerShell is the recommended shell for Windows users.
  • In each step, explicitly state which shell is recommended for which OS, to avoid confusion.
  • If possible, provide parity in shell examples: for each Bash example, ensure the PowerShell equivalent is equally visible, and vice versa.
  • Add a note for Windows users who may not have Bash, explaining how to install or use Bash-compatible environments.
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 ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

az webpubsub create ` --name $WebPubSubName ` --location $Location ` --resource-group $ResourceGroupName ` --sku Free_F1
$ResourceGroupName = 'webpubsub-resource-group' $Location = 'EastUS' $WebPubSubName = '<YourUniqueName>'
az group create --location $Location --name $ResourceGroupName
az webpubsub client start ` --name $WebPubSubName ` --resource-group $ResourceGroupName ` --hub-name 'myHub1' ` --user-id 'user1'
$connection_string = "<your_connection_string>"
mvn exec:java -Dexec.mainClass="com.webpubsub.quickstart.App" -Dexec.cleanupDaemonThreads=false -Dexec.args=" '$connection_string' 'myHub1' 'Hello World'"