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 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 ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ 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