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 demonstrates a bias toward Windows and PowerShell environments. PowerShell is used as the primary scripting language for both Azure PowerShell and Azure CLI container workflows, and all upload/deployment examples use PowerShell commands. There are no equivalent Linux shell (bash) or cross-platform CLI examples for uploading files or deploying templates. The Docker section uses Windows drive letter syntax (e.g., d:/docker), and the volume mount instructions are Windows-centric. Linux-native workflows and tools are not covered or are mentioned only after Windows/PowerShell approaches.
Recommendations
  • Provide equivalent bash/Azure CLI examples for uploading deployment scripts to Azure Storage (e.g., using az storage file upload).
  • Include Linux/macOS-specific instructions for mounting directories in Docker (e.g., using /home/user/docker:/data syntax).
  • When presenting PowerShell examples, offer corresponding bash or shell script alternatives, especially for common tasks like resource group creation and template deployment.
  • Avoid using Windows drive letter syntax exclusively in Docker commands; show both Windows and Linux/macOS variants.
  • Clarify that all steps can be performed from Linux/macOS, and highlight any differences or prerequisites.
  • Consider reordering sections or providing parallel instructions so that Linux and Windows users see their workflows presented equally.
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

    cd /mnt/azscripts/azscriptinput
    ls
    pwsh ./hello.ps1 "John Dole"
    
$projectName = Read-Host -Prompt "Enter a project name that is used to generate resource names"
$location = Read-Host -Prompt "Enter the location (i.e. centralus)"
$templateFile = Read-Host -Prompt "Enter the template file path and file name"
$resourceGroupName = "${projectName}rg"

New-AzResourceGroup -Location $location -name $resourceGroupName
New-AzResourceGroupDeployment -resourceGroupName $resourceGroupName -TemplateFile $templatefile -projectName $projectName
$projectName = Read-Host -Prompt "Enter the same project name that you used earlier"
$fileName = Read-Host -Prompt "Enter the deployment script file name with the path"

$resourceGroupName = "${projectName}rg"
$storageAccountName = "${projectName}store"
$fileShareName = "${projectName}share"

$context = (Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName).Context
Set-AzStorageFileContent -Context $context -ShareName $fileShareName -Source $fileName -Force
$projectName = Read-Host -Prompt "Enter a project name that is used to generate resource names"
$location = Read-Host -Prompt "Enter the location (i.e. centralus)"
$templateFile = Read-Host -Prompt "Enter the template file path and file name"
$resourceGroupName = "${projectName}rg"

New-AzResourceGroup -Location $location -name $resourceGroupName
New-AzResourceGroupDeployment -resourceGroupName $resourceGroupName -TemplateFile $templatefile -projectName $projectName