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
windows_tools
Summary
The documentation demonstrates a moderate Windows bias. PowerShell is given a dedicated section and detailed examples, and the PowerShell tab precedes the Azure CLI tab in all code example sections. There is no mention of Linux-specific shells, tools, or considerations, and the CLI examples use generic variable syntax but do not clarify cross-platform usage. The documentation assumes familiarity with PowerShell and Windows-centric tools, which may disadvantage Linux users.
Recommendations
  • Add explicit Bash/Linux shell examples alongside PowerShell, especially for Azure CLI commands.
  • Clarify that Azure CLI commands work cross-platform and provide examples using Bash variable syntax (e.g., $VAR vs. <VAR>).
  • Reorder code example tabs to alternate or randomize the order, or explicitly state that the order does not imply preference.
  • Include notes or links for Linux/macOS users regarding installation and usage of Azure CLI and SDKs.
  • Avoid assuming PowerShell as the default scripting environment; mention alternatives where possible.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
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 Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

# Set resource group and account variables.
$rgName = "<resource-group>"
$accountName = "<storage-account>"

# Enable versioning.
Update-AzStorageBlobServiceProperty -ResourceGroupName $rgName `
    -StorageAccountName $accountName `
    -IsVersioningEnabled $true
$account = Get-AzStorageAccount -ResourceGroupName <resource-group> -Name <storage-account>
$ctx = $account.Context
$container = "<container-name>"

$blobs = Get-AzStorageBlob -Container $container -Prefix "ab" -IncludeVersion -Context $ctx

foreach($blob in $blobs)
{
    Write-Host $blob.Name
    Write-Host $blob.VersionId
    Write-Host $blob.IsLatestVersion
}