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_tools
windows_first
missing_linux_example
Summary
The documentation page demonstrates a bias toward Windows and PowerShell environments. PowerShell is heavily featured in both script examples and deployment steps, with PowerShell-based commands provided first and in more detail. Uploading scripts to Azure Storage is only shown with PowerShell, and Docker volume mount examples use Windows drive letter syntax (e.g., d:/docker), with no corresponding Linux/macOS examples. There are no Bash/Azure CLI examples for uploading files or running deployments from non-Windows systems, and the file path conventions are Windows-centric.
Recommendations
  • Provide equivalent Bash/Azure CLI examples for uploading deployment scripts to Azure Storage, especially for Linux/macOS users.
  • Include Docker run examples using Linux/macOS path syntax (e.g., /home/user/docker:/data) alongside Windows examples.
  • When presenting PowerShell and CLI examples, alternate the order or present both together to avoid a 'Windows-first' impression.
  • Clarify in each section that the instructions apply to all platforms, and explicitly mention any differences or additional steps for Linux/macOS.
  • Where possible, use platform-neutral language and file path conventions, or provide both Windows and Linux/macOS variants.
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-12 00:00 #243 cancelled 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-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased

Flagged Code Snippets

    docker run -v d:/docker:/data -it mcr.microsoft.com/azure-cli:2.52.0
    
param([string] $name, [string] $subscription)
$output = 'Hello {0}' -f $name
#Write-Output $output

Connect-AzAccount -UseDeviceAuthentication
Set-AzContext -subscription $subscription

$kv = Get-AzKeyVault
#Write-Output $kv

$DeploymentScriptOutputs = @{}
$DeploymentScriptOutputs['greeting'] = $output
$DeploymentScriptOutputs['kv'] = $kv.resourceId
Write-Output $DeploymentScriptOutputs
    docker run -v d:/docker:/data -it mcr.microsoft.com/azuredeploymentscripts-powershell:az10.0
    
    docker run -v <host drive letter>:/<host directory name>:/data -it mcr.microsoft.com/azuredeploymentscripts-powershell:az10.0
    
    cd /mnt/azscripts/azscriptinput
    ls
    pwsh ./hello.ps1 "John Dole"
    
param([string] $name)
$output = 'Hello {0}' -f $name
Write-Output $output
$DeploymentScriptOutputs = @{}
$DeploymentScriptOutputs['text'] = $output
param([string] $name, [string] $subscription)
$output = 'Hello {0}' -f $name
#Write-Output $output

Connect-AzAccount -UseDeviceAuthentication
Set-AzContext -subscription $subscription

$kv = Get-AzKeyVault
#Write-Output $kv

$DeploymentScriptOutputs = @{}
$DeploymentScriptOutputs['greeting'] = $output
$DeploymentScriptOutputs['kv'] = $kv.resourceId
Write-Output $DeploymentScriptOutputs
    docker pull mcr.microsoft.com/azuredeploymentscripts-powershell:az10.0
    
    docker run -v <host drive letter>:/<host directory name>:/data -it mcr.microsoft.com/azuredeploymentscripts-powershell:az10.0
    
    docker run -v d:/docker:/data -it mcr.microsoft.com/azuredeploymentscripts-powershell:az10.0