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
Summary:
The documentation provides both Bash and PowerShell examples for Azure CLI commands, but the PowerShell examples are labeled and formatted specifically for Windows users. The PowerShell examples are always presented immediately after the Bash examples, which may suggest a slight Windows-first orientation. However, there are no Linux-specific tools or workflows missing, and both platforms are covered. There is no exclusive use of Windows tools, but the explicit PowerShell formatting and labeling could be seen as a bias toward Windows users.
Recommendations:
  • Clearly label Bash examples as 'Linux/macOS' and PowerShell examples as 'Windows' to make parity explicit.
  • Present both Bash and PowerShell examples side-by-side or in tabs, rather than always listing Bash first, to avoid a perceived ordering bias.
  • Include a brief note at the top of the CLI section explaining that both Linux/macOS (Bash) and Windows (PowerShell) are supported, and users should choose the example matching their environment.
  • Ensure that any platform-specific nuances (such as line continuation characters or variable syntax) are explained for both environments.
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

# Formatted for PowerShell $apicObjID=$(az apic show --name <api-center-name> ` --resource-group <resource-group-name> ` --query "identity.principalId" --output tsv)
# Formatted for PowerShell $apimID=$(az apim show --name <apim-name> --resource-group <resource-group-name> --query "id" --output tsv)