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
windows_first
powershell_heavy
windows_tools
missing_linux_example
Summary
The documentation is exclusively focused on configuring traffic mirroring using Hyper-V, a Windows-only virtualization platform. All examples and instructions use Windows tools (PowerShell, Hyper-V Manager) and Microsoft-specific features (NDIS Capture Extensions). There are no references to Linux, cross-platform virtualization solutions (e.g., KVM, VMware, VirtualBox), or equivalent Linux commands and tools. This creates a strong Windows bias, making the documentation inaccessible to users on Linux or other platforms.
Recommendations
  • Add a section or parallel documentation for configuring traffic mirroring using popular Linux hypervisors such as KVM/QEMU, libvirt, or VMware ESXi.
  • Provide equivalent Linux command-line examples (e.g., using virsh, nmcli, or ip commands) for creating virtual switches, attaching interfaces, and configuring port mirroring.
  • Mention that Hyper-V is a Windows-only solution at the beginning, and provide links or references to Linux-based alternatives for users on other platforms.
  • Include a comparison table or guidance for users to select the appropriate virtualization and mirroring method based on their operating system.
  • Ensure that future documentation for cross-platform products includes parity in examples and instructions for both Windows and Linux environments.
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

New-VMSwitch -Name vSwitch_Span -NetAdapterName Ethernet -AllowManagementOS:$true
    ADD-VMNetworkAdapter -VMName VK-C1000V-LongRunning-650 -Name Monitor -SwitchName vSwitch_Span
    
    Get-VMNetworkAdapter -VMName VK-C1000V-LongRunning-650 | ? Name -eq Monitor | Set-VMNetworkAdapter -PortMirroring Destination
    
Enable-VMSwitchExtension -VMSwitchName vSwitch_Span -Name "Microsoft NDIS Capture"
Get-VMSwitchExtensionPortFeature -FeatureName "Ethernet Switch Port Security Settings" -SwitchName vSwitch_Span -ExternalPort | select -ExpandProperty SettingData
$ExtPortFeature=Get-VMSystemSwitchExtensionPortFeature -FeatureName "Ethernet Switch Port Security Settings"
$ExtPortFeature.SettingData.MonitorMode=2
Add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName vSwitch_Span -VMSwitchExtensionFeature $ExtPortFeature
Set-VMNetworkAdapterVlan -VMName VK-C1000V-LongRunning-650 -VMNetworkAdapterName Monitor -Trunk -AllowedVlanIdList 1010-1020 -NativeVlanId 10