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
windows_first
missing_linux_example
windows_tools
Summary
The documentation demonstrates a Windows bias by providing detailed PowerShell instructions (which are Windows-centric), referencing 'Open a Windows PowerShell command window', and using Windows-style file paths (e.g., 'C:\Logs\Storage') in examples. There are no equivalent CLI or Bash/Linux shell examples, nor are cross-platform tools like Azure CLI or Bash scripts presented alongside PowerShell. The documentation also refers to tools and workflows (like PowerShell and Windows file paths) that are specific to Windows environments, without mentioning or providing parity for Linux or macOS users.
Recommendations
  • Add Azure CLI examples for all operations currently shown only in PowerShell, as Azure CLI is cross-platform and widely used on Linux/macOS.
  • Replace or supplement Windows file paths (e.g., 'C:\Logs\Storage') with POSIX-style paths (e.g., '/home/user/Logs/Storage') or note both formats.
  • Explicitly mention that PowerShell Core is cross-platform, and provide guidance for running scripts on Linux/macOS if PowerShell is retained.
  • Include Bash or shell script examples where appropriate, especially for automation tasks.
  • Ensure that references to 'open a Windows PowerShell command window' are generalized to 'open a terminal' or provide OS-specific instructions.
  • Highlight cross-platform tools (like AzCopy and Azure Storage Explorer) and provide usage notes for Linux/macOS where relevant.
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-08-19 00:01 #85 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

   Connect-AzAccount
   
   $context = Get-AzSubscription -SubscriptionId <subscription-id>
   Set-AzContext $context
   
   Set-AzStorageServiceLoggingProperty -ServiceType Table -LoggingOperations none -Context $ctx 
   
   $storageAccount = Get-AzStorageAccount -ResourceGroupName "<resource-group-name>" -AccountName "<storage-account-name>"
   $ctx = $storageAccount.Context
   
   Set-AzStorageServiceLoggingProperty -ServiceType Queue -LoggingOperations read,write,delete -RetentionDays 5 -Context $ctx
   
   Connect-AzAccount
   
   $context = Get-AzSubscription -SubscriptionId <subscription-id>
   Set-AzContext $context
   
   $storageAccount = Get-AzStorageAccount -ResourceGroupName "<resource-group-name>" -AccountName "<storage-account-name>"
   $ctx = $storageAccount.Context
   
   Get-AzStorageServiceLoggingProperty -ServiceType Blob, Queue -Context $ctx
   
   Set-AzStorageServiceLoggingProperty -ServiceType Blob, Queue -RetentionDays 4 -Context $ctx
   
azcopy copy 'https://mystorageaccount.blob.core.windows.net/$logs/queue' 'C:\Logs\Storage' --include-path '2014/05/20/09;2014/05/20/10;2014/05/20/11' --recursive