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 strong Windows bias. All examples and instructions focus exclusively on deploying a PowerShell script to a Windows VM using the Custom Script Extension. The template and scripts are Windows-specific, and there is no mention of Linux VMs, Bash scripts, or Linux equivalents. Windows tools and patterns (e.g., PowerShell, Install-WindowsFeature, IIS) are used throughout, and Linux options are omitted.
Recommendations
  • Add parallel examples for deploying to Linux VMs using Bash scripts and the Custom Script Extension for Linux.
  • Include a Linux quickstart template (e.g., 'Deploy a simple Linux VM') alongside the Windows template, and show how to edit it.
  • Demonstrate how to install a web server (e.g., Apache or Nginx) on a Linux VM using a Bash script.
  • Provide Linux command examples for retrieving the public IP address (e.g., using Azure CLI in Bash).
  • Mention and link to the Linux extensions documentation and features.
  • Structure the tutorial to present both Windows and Linux options, or clearly indicate that this tutorial is Windows-specific and link to a Linux-focused equivalent.
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

Install-WindowsFeature -Name Web-Server -IncludeManagementTools
    https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/vm-simple-windows/azuredeploy.json
    
{
  "type": "Microsoft.Compute/virtualMachines/extensions",
  "apiVersion": "2025-04-01",
  "name": "[format('{0}/{1}', variables('vmName'), 'InstallWebServer')]",
  "location": "[parameters('location')]",
  "dependsOn": [
    "[format('Microsoft.Compute/virtualMachines/{0}',variables('vmName'))]"
  ],
  "properties": {
    "publisher": "Microsoft.Compute",
    "type": "CustomScriptExtension",
    "typeHandlerVersion": "1.7",
    "autoUpgradeMinorVersion": true,
    "settings": {
      "fileUris": [
        "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-vm-extension/installWebServer.ps1"
      ],
      "commandToExecute": "powershell.exe -ExecutionPolicy Unrestricted -File installWebServer.ps1"
    }
  }
}
powershell.exe Install-WindowsFeature -name Web-Server -IncludeManagementTools && powershell.exe remove-item 'C:\\inetpub\\wwwroot\\iisstart.htm' && powershell.exe Add-Content -Path 'C:\\inetpub\\wwwroot\\iisstart.htm' -Value $('Hello World from ' + $env:computername)
(Get-AzPublicIpAddress -ResourceGroupName $resourceGroupName).IpAddress