Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
missing_linux_example
windows_tools
windows_first
Summary
The documentation page demonstrates a Windows bias by providing only Azure PowerShell command-line examples for configuring diagnostic settings and enabling logs. There are no equivalent instructions or examples for Linux users (e.g., using Azure CLI or Bash scripts). The exclusive use of PowerShell and the absence of cross-platform command-line alternatives make the instructions less accessible to users on Linux or macOS. Additionally, the documentation references 'Azure PowerShell' as the primary automation tool, reinforcing a Windows-centric approach.
Recommendations
  • Add equivalent Azure CLI (az) command examples for all PowerShell-based instructions, as Azure CLI is cross-platform and works natively on Linux, macOS, and Windows.
  • Explicitly mention that both PowerShell and Azure CLI can be used, and provide guidance on choosing the appropriate tool for the user's environment.
  • Where possible, provide Bash script examples alongside PowerShell scripts, especially for automation scenarios.
  • Reorganize sections so that cross-platform tools (Azure CLI) are presented before or alongside Windows-specific tools (PowerShell), or provide a clear tabbed interface for different platforms.
  • Review and update any references to 'Azure PowerShell' as the default automation tool to a more inclusive phrasing, such as 'Azure PowerShell or Azure CLI'.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

### Enable diagnostics logs for event hub namespace

1. Sign in to Azure PowerShell: