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
⚠️ windows_tools
⚠️ missing_linux_example
Summary:
The documentation demonstrates a Windows bias by consistently referencing Windows-specific tools and patterns. PowerShell is given a dedicated section, and instructions for the Azure CLI repeatedly suggest using Windows PowerShell as the example terminal, with file paths in Windows format (e.g., C:\demo-file.txt). There are no explicit Linux or macOS examples, nor are cross-platform considerations (such as file path differences or alternative shells) addressed. The documentation does not mention or show Linux command-line environments, and the use of Windows-centric terminology and tools is prevalent throughout.
Recommendations:
  • Provide explicit Linux/macOS examples alongside Windows ones, especially for CLI commands (e.g., show file paths like /home/user/demo-file.txt).
  • When referencing a command console, mention cross-platform options such as Bash, Terminal, or zsh, not just Windows PowerShell.
  • Balance PowerShell examples with Bash or generic shell script examples where possible.
  • Clarify that Azure CLI and AzCopy are cross-platform, and show usage in both Windows and Linux/macOS environments.
  • Avoid using only Windows-style file paths in examples; provide both Windows and Unix-style paths.
  • Add notes or callouts about any differences in behavior or prerequisites on Linux/macOS.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

$context = Get-AzSubscription -SubscriptionId <subscription-id> Set-AzContext $context $storageAccount = Get-AzStorageAccount -ResourceGroupName "<resource-group-name>" -AccountName "<storage-account-name>" $ctx = $storageAccount.Context
$filterExpression = "@container='myContainer' AND ""tag1""='value1'" Get-AzStorageBlobByTag -TagFilterSqlExpression $filterExpression -Context $ctx