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
windows_first
missing_linux_example
powershell_heavy
windows_tools
Summary
The documentation demonstrates a Windows bias in several ways: When creating a VM for testing, the only OS option shown is Windows Server 2022, and the CLI example uses the Win2022Datacenter image. The instructions for verifying connectivity exclusively use PowerShell commands inside the Windows VM, with no mention of Linux alternatives (e.g., using nslookup or dig on a Linux VM). There are no examples or guidance for deploying or testing with a Linux VM, nor are Linux command-line tools or shell examples provided for the verification steps. The portal instructions also default to Windows images and workflows.
Recommendations
  • Provide parallel instructions for creating a Linux VM (e.g., Ubuntu) in both portal and CLI sections, including appropriate image references (e.g., UbuntuLTS).
  • Include Linux command-line examples for verifying DNS resolution and connectivity (e.g., using nslookup or dig in bash).
  • When presenting a list of OS options or tools, avoid defaulting to Windows first; present both Windows and Linux options, or alternate their order.
  • Instruct users on how to run equivalent commands in both PowerShell (Windows) and bash (Linux), especially for common tasks like DNS lookups.
  • Clarify that the private endpoint functionality is OS-agnostic and works with both Windows and Linux VMs.
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-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 Clean Clean
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

az vm create \
    --resource-group $RESOURCE_GROUP \
    --name $VM_NAME \
    --image Win2022Datacenter \
    --public-ip-address "" \
    --vnet-name $VNET_NAME \
    --subnet $SUBNET_NAME \
    --admin-username $VM_ADMIN_USERNAME