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
missing_linux_example
windows_tools
Summary
The documentation is heavily focused on Windows, providing only Windows-specific instructions and PowerShell commands for creating a virtual switch, NAT, and DHCP server. There are no Linux equivalents or cross-platform guidance, despite the topic being related to 'IoT Edge for Linux on Windows'. All tooling and examples are Windows/PowerShell-centric, and Linux networking tools or commands are not mentioned at all.
Recommendations
  • Add a section or parallel instructions for performing similar networking setup (virtual switch, NAT, DHCP) on Linux hosts using common Linux tools (e.g., ip, brctl, dnsmasq, systemd-networkd).
  • Clarify in the introduction that the instructions are Windows-only, and provide links or references for Linux users if applicable.
  • Where possible, provide conceptual parity by describing what each step accomplishes in platform-agnostic terms before showing Windows-specific commands.
  • If the product is only supported on Windows hosts, explicitly state this limitation and explain why Linux host instructions are not included.
  • Include a comparison table or FAQ addressing differences between Windows and Linux networking setup for IoT Edge scenarios.
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-22 00:01 #88 completed 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-NetAdapter -Name "{switchName}").ifIndex
    
    Get-VMSwitch
    
    New-VMSwitch -Name "{switchName}" -SwitchType {switchType}
    
    Add-DhcpServerV4Scope -Name "AzureIoTEdgeScope" -StartRange {startIp} -EndRange {endIp} -SubnetMask 255.255.255.0 -State Active
    
    New-NetIPAddress -IPAddress {gatewayIp} -PrefixLength 24 -InterfaceIndex {interfaceIndex}
    
    New-NetNat -Name "{switchName}" -InternalIPInterfaceAddressPrefix "{natIp}/24"
    
    Get-WindowsFeature -Name 'DHCP'
    
    Install-WindowsFeature -Name 'DHCP' -IncludeManagementTools
    
    netsh dhcp add securitygroups
    Restart-Service dhcpserver
    
    Set-DhcpServerV4OptionValue -ScopeID {startIp} -Router {gatewayIp}
    Restart-service dhcpserver