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
⚠️ missing_linux_example
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by exclusively using Windows Server virtual machines as backend examples, providing only PowerShell commands (for IIS installation), and omitting any Linux VM or cross-platform CLI examples for backend setup and testing. The workflow for installing a web server and verifying the Application Gateway is entirely Windows-centric, with no mention of Linux alternatives or parity in instructions.
Recommendations:
  • Include parallel instructions for creating a Linux VM (e.g., Ubuntu) as a backend server, alongside the Windows example.
  • Provide Linux-specific commands (such as using Azure CLI or SSH) to install a web server (e.g., Apache or Nginx) for testing, in addition to the PowerShell/IIS example.
  • Show both Windows and Linux options for backend pool configuration and testing, making it clear that Application Gateway supports both.
  • Where PowerShell is used, offer equivalent Azure CLI/bash commands for Linux users.
  • Update screenshots and step-by-step instructions to reflect both Windows and Linux VM creation and configuration.
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 EastUS
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 EastUS