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
powershell_heavy
windows_first
windows_tools
missing_linux_example
Summary
The documentation is heavily biased toward Windows environments, specifically Windows 11 and Windows Server, with all setup instructions and tooling (PowerShell, Hyper-V, Windows Settings) being Windows-specific. There are no instructions or examples for enabling nested virtualization with Linux-based template VMs, nor is there mention of Linux virtualization technologies (such as KVM or VirtualBox). Even when Linux is referenced (e.g., nested Ubuntu VMs), the host and configuration steps are always Windows-centric.
Recommendations
  • Add explicit guidance on whether Linux-based template VMs are supported for nested virtualization in Azure Lab Services. If not supported, state this clearly at the beginning.
  • If Linux hosts are supported, provide equivalent instructions for enabling nested virtualization on Linux template VMs, including examples using KVM or other common Linux virtualization tools.
  • Include Linux command-line examples (e.g., using virsh, virt-manager, or qemu) alongside PowerShell/Windows examples.
  • Mention Linux tools and patterns (e.g., SSH, systemd, libvirt) where relevant, and not only as guest OSes.
  • If only Windows is supported as a host, clarify this limitation early and suggest alternatives or workarounds for Linux users.
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-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

    Get-VMNetworkAdapter * | Set-VMNetworkAdapter -RouterGuard On -DhcpGuard On
    
    Set-ExecutionPolicy bypass -force
    
    Invoke-WebRequest 'https://aka.ms/azlabs/scripts/hyperV-powershell' -Outfile SetupForNestedVirtualization.ps1
    .\SetupForNestedVirtualization.ps1
    
    Set-ExecutionPolicy default -force
    
    Add-NetNatStaticMapping -NatName "LabServicesNat" -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddress 192.168.0.102 -InternalPort 22 -ExternalPort 23
    
    Add-NetNatStaticMapping -NatName "LabServicesNat" -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddress 192.168.0.103 -InternalPort 3389 -ExternalPort 3390