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

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation page demonstrates a strong Windows bias by exclusively using Windows VM examples, PowerShell scripts, and Windows-specific tools (e.g., Install-WindowsFeature, IIS). There are no Linux VM or Bash script examples, and all instructions and templates are tailored to Windows environments. Linux equivalents are not mentioned or provided.
Recommendations:
  • Include parallel Linux examples throughout the tutorial, such as deploying a Custom Script Extension to install Apache or Nginx on a Linux VM using a Bash script.
  • Provide both PowerShell and Bash script samples for the Custom Script Extension.
  • Reference and link to Linux-specific quickstart templates (e.g., 'Deploy a simple Linux VM') alongside the Windows template.
  • Show how to retrieve the public IP address using both Azure CLI (az) and Azure PowerShell.
  • Ensure that all steps (preparation, editing, deployment, cleanup) have Linux alternatives and are presented with equal prominence.
  • Mention and link to the Linux VM extensions documentation and features.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ 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": "2021-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