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
Summary
The documentation provides detailed instructions and code samples for enabling diagnostic logging using the Azure Portal and Azure PowerShell, but does not include equivalent examples for Linux users, such as using the Azure CLI (az) or Bash scripts. The only command-line automation shown is via PowerShell, which is primarily a Windows-centric tool, though it is available cross-platform. There are no explicit Linux or Bash examples, and the documentation does not mention or prioritize Linux-native tools or workflows.
Recommendations
  • Add equivalent step-by-step instructions and code samples for enabling diagnostic logging using the Azure CLI (az), which is cross-platform and commonly used on Linux and macOS.
  • Where PowerShell examples are provided, also provide Bash/Azure CLI examples side-by-side or in tabs to ensure parity for Linux users.
  • Explicitly mention that PowerShell is available cross-platform, but clarify that Azure CLI is often the default on Linux and macOS.
  • Review all sections for references to Windows-specific tools or workflows and ensure Linux alternatives are equally represented and easy to find.
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-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 Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-09-03 00:00 #100 completed Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Clean Clean
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 Log Analytics workspace

1. Sign in to Azure PowerShell:

    
2. Enable Diagnostic Logs for a Log Analytics workspace using the following commands. Replace the variables with your values: