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
Summary:
The documentation provides both Bash and Azure PowerShell examples for all CLI operations, but PowerShell is consistently presented as an equal alternative rather than a secondary or optional one. In the prerequisites, both Bash and PowerShell are listed, but it is noted that Python, JavaScript, and Java samples require Bash. However, PowerShell examples are still provided for all CLI steps, which may suggest a slight Windows bias by giving PowerShell parity with Bash even when Bash is required for the main language samples. Additionally, PowerShell is mentioned before Bash in the prerequisites, and PowerShell-specific variable syntax and command formatting are used throughout.
Recommendations:
  • Clarify that Bash is the primary supported shell for non-.NET SDKs and that PowerShell examples are optional or secondary.
  • Present Bash examples first in all code tabs and sections, especially since most SDK samples require Bash.
  • Explicitly note any limitations of PowerShell usage with the SDKs (e.g., if certain language samples cannot be run in PowerShell).
  • Consider reducing the prominence of PowerShell examples or moving them to an appendix or 'Windows-specific' section to avoid implying equal support.
  • Ensure that all instructions and environment variable usage are cross-platform and avoid Windows-centric patterns unless necessary.
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>'
$connection_string = "<your_connection_string>"