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