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_tools
missing_linux_example
windows_first
Summary
The documentation page demonstrates a strong Windows bias by exclusively providing PowerShell cmdlets (e.g., Add-HcsNetRoute, Get-HcsNetRoute, Remove-HcsNetRoute) for network configuration and route management. There are no Linux or cross-platform CLI examples, and the only method described for adding routes is via the PowerShell interface. Windows-specific networking concepts (e.g., Hyper-V, virtual switches, SET) are mentioned without Linux equivalents or alternatives. The documentation does not address how to perform similar tasks on Linux-based systems or with standard Kubernetes/Linux networking tools.
Recommendations
  • Provide equivalent Linux command-line examples (e.g., using ip route or nmcli) for route management on Kubernetes nodes, if supported.
  • Clarify whether the device supports SSH or Linux shell access for network configuration, and document those workflows if available.
  • Mention or link to Linux-native networking concepts (e.g., Linux bridges, NetworkManager, standard Linux routing) where Hyper-V or Windows virtual switches are discussed.
  • If route configuration is only possible via PowerShell, explicitly state this limitation and provide guidance for Linux users or alternatives where possible.
  • Ensure that all code examples are provided in both PowerShell and bash (or other relevant Linux shells) where feasible.
  • Consider reordering explanations to present cross-platform or Linux-native approaches before or alongside Windows-specific instructions.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

Add-HcsNetRoute -InterfaceAlias <Port number> -DestinationPrefix <Destination IP address or IP address prefix> -NextHop <IP address of next hop> -RouteMetric <Route metric number> 
Add-HcsNetRoute -InterfaceAlias "Port3" -DestinationPrefix "192.168.20.0/24" -NextHop "192.168.20.1" -RouteMetric 100 
Get-HcsNetRoute -InterfaceAlias <Port number>
Remove-HcsNetRoute -InterfaceAlias <Port number> -DestinationPrefix <Destination IP or IP prefix>