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
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a Windows bias by providing all Azure-side command-line examples exclusively in PowerShell, with no equivalent Azure CLI (cross-platform) or Bash/Linux examples. Additionally, the traceroute example is shown using the Windows 'tracert' command, and the PowerShell commands for ExpressRoute operations are presented without alternatives. There is no mention of Linux-native tools or workflows for managing or validating Azure networking in this context.
Recommendations:
  • Provide Azure CLI (az) command equivalents for all PowerShell examples, especially for route validation and ExpressRoute circuit management, to support Linux and macOS users.
  • Include traceroute examples using the Linux 'traceroute' command alongside the Windows 'tracert' example.
  • Explicitly mention that both Windows and Linux clients can be used for validation steps, and provide sample commands for each.
  • Where possible, use cross-platform language in instructions (e.g., 'run the following command in your shell or terminal') rather than assuming a Windows environment.
  • Add a note or section highlighting tool parity and any differences in experience between Windows and Linux environments.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

PS C:\Users\user> Get-AzVirtualNetworkGatewayAdvertisedRoute -Peer 192.168.11.88 -ResourceGroupName SEA-Cust11 -VirtualNetworkGatewayName SEA-Cust11-VNet01-gw-vpn | select Network, NextHop, AsPath, Weight Network NextHop AsPath Weight ------- ------- ------ ------ 10.17.11.0/25 10.17.11.76 65515 0 10.17.11.128/26 10.17.11.76 65515 0 10.17.11.0/25 10.17.11.77 65515 0 10.17.11.128/26 10.17.11.77 65515 0
$ckt = Get-AzExpressRouteCircuit -Name "expressroute name" -ResourceGroupName "SEA-Cust11" $ckt.Peerings[0].State = "Disabled" Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt
PS C:\Users\user> Get-AzVirtualNetworkGatewayLearnedRoute -ResourceGroupName SEA-Cust11 -VirtualNetworkGatewayName SEA-Cust11-VNet01-gw-vpn | where {$_.Network -eq "10.1.11.0/25"} | select Network, NextHop, AsPath, Weight Network NextHop AsPath Weight ------- ------- ------ ------ 10.1.11.0/25 192.168.11.88 65020 32768 10.1.11.0/25 10.17.11.76 65020 32768 10.1.11.0/25 10.17.11.69 12076-65020 32769 10.1.11.0/25 10.17.11.69 12076-65020 32769 10.1.11.0/25 192.168.11.88 65020 32768 10.1.11.0/25 10.17.11.77 65020 32768 10.1.11.0/25 10.17.11.69 12076-65020 32769 10.1.11.0/25 10.17.11.69 12076-65020 32769
C:\Users\PathLabUser>tracert 10.17.11.132 Tracing route to 10.17.11.132 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms 10.1.11.1 2 <1 ms <1 ms 11 ms 192.168.11.0 3 <1 ms <1 ms <1 ms 192.168.11.18 4 * * * Request timed out. 5 6 ms 6 ms 5 ms 10.17.11.132 Trace complete.
C:\Users\PathLabUser>tracert 10.17.11.132 Tracing route to 10.17.11.132 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms 10.1.11.1 2 * * * Request timed out. 3 6 ms 7 ms 9 ms 10.17.11.132 Trace complete.
$ckt = Get-AzExpressRouteCircuit -Name "expressroute name" -ResourceGroupName "SEA-Cust11" $ckt.Peerings[0].State = "Enabled" Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt