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:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a Windows bias by exclusively using Windows Server as the backend VM example and providing only PowerShell commands (specifically for installing IIS) without any Linux/CLI alternatives. There are no examples or instructions for deploying a Linux VM, nor for installing a web server (like Nginx or Apache) on Linux, nor are Bash/Azure CLI commands provided for equivalent tasks. This may hinder Linux users or those preferring cross-platform solutions.
Recommendations:
  • Provide parallel instructions for deploying a Linux VM (e.g., Ubuntu) as a backend target, including relevant screenshots.
  • Include steps to install a web server (such as Nginx or Apache) on the Linux VM for testing, using Bash or Azure CLI commands.
  • Offer Azure CLI examples alongside PowerShell for tasks like installing extensions or managing resources.
  • Explicitly mention that both Windows and Linux VMs are supported as backend targets, and link to relevant documentation for both.
  • Where scripting is shown (e.g., installing IIS), provide equivalent Bash/CLI scripts for Linux.
  • Consider alternating the order of Windows and Linux examples, or presenting them side-by-side, to avoid 'windows_first' bias.
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
2025-07-09 23:22 #6 cancelled ✅ Clean

Flagged Code Snippets

Set-AzVMExtension ` -ResourceGroupName myResourceGroupAG ` -ExtensionName IIS ` -VMName myVM ` -Publisher Microsoft.Compute ` -ExtensionType CustomScriptExtension ` -TypeHandlerVersion 1.4 ` -SettingString '{"commandToExecute":"powershell Add-WindowsFeature Web-Server; powershell Add-Content -Path \"C:\\inetpub\\wwwroot\\Default.htm\" -Value $($env:computername)"}' ` -Location WestCentralUS