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 page demonstrates a Windows bias in several ways: PowerShell is used exclusively for scripting storage uploads, with no Bash or Linux shell equivalents provided. Windows/PowerShell tooling is presented first and in detail, while Linux alternatives are omitted. The use of Windows-specific tools (PowerShell cmdlets like Connect-AzAccount, New-AzResourceGroup, etc.) is prominent, and there is no mention of cross-platform or Linux-compatible approaches for these steps. Azure CLI is used for deployment, but the initial artifact upload relies solely on PowerShell, which is not native to Linux environments.
Recommendations
  • Provide Bash/Azure CLI examples for uploading the application package to Azure Storage, alongside or before PowerShell examples.
  • Explicitly mention cross-platform compatibility and clarify which steps can be performed on Linux/macOS.
  • Add notes or links to documentation for Linux users, including installation and usage of Azure CLI and azcopy.
  • Where PowerShell is used, offer equivalent Bash or Azure CLI commands to ensure Linux parity.
  • Review all scripting sections to ensure both Windows and Linux users are supported equally.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

$resourceGroup="appResourcesGroup"
$storageName="mystorageaccount$RANDOM"

# Sign in to your Azure subscription
Connect-AzAccount
# Create resource group for managed application definition and application package
New-AzResourceGroup -Name $resourceGroup -Location eastus

# Create storage account for a package with application artifacts
$storageAccount=New-AzStorageAccount `
  -ResourceGroupName $resourceGroup `
  -Name $storageName `
  -SkuName Standard_LRS `
  -Location eastus `
$ctx=$storageAccount.Context

# Create storage container and upload zip to blob
New-AzStorageContainer -Name appcontainer -Context $ctx -Permission blob
Set-AzStorageBlobContent `
  -File "path_to_your_zip_package" `
  -Container appcontainer `
  -Blob app.zip `
  -Context $ctx

# Get blob absolute uri
$blobUri=(Get-AzureStorageBlob -Container appcontainer -Blob app.zip -Context $ctx).ICloudBlob.uri.AbsoluteUri