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_tools
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a Windows bias by exclusively providing Azure PowerShell command examples for all verification and troubleshooting steps, without offering equivalent Azure CLI (cross-platform) or Bash/Linux-native alternatives. Additionally, the only traffic testing tool mentioned is PsPing, a Windows-only utility, with no mention of Linux-compatible tools. There are no Linux or cross-platform command-line examples, and the documentation assumes familiarity with Windows-centric tools and workflows.
Recommendations:
  • For every PowerShell example, provide an equivalent Azure CLI (az) command example, which is cross-platform and widely used on Linux and macOS.
  • When referencing traffic testing tools like PsPing, also mention and provide examples for Linux alternatives such as hping3, nping (from nmap), or standard tools like ping and traceroute.
  • Explicitly state that the troubleshooting steps can be performed from any OS, and clarify which tools are available on which platforms.
  • Where possible, use neutral terminology (e.g., 'command line' instead of 'PowerShell') and avoid assuming a Windows environment.
  • Add a section or callout for Linux/macOS users, summarizing the equivalent steps and tools.
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

Get-AzExpressRouteCircuit -ResourceGroupName "Test-ER-RG"
Get-AzExpressRouteCircuit -ResourceGroupName "Test-ER-RG" -Name "Test-ER-Ckt"
Name : Test-ER-Ckt ResourceGroupName : Test-ER-RG Location : westus2 Id : /subscriptions/***************************/resourceGroups/Test-ER-RG/providers/***********/expressRouteCircuits/Test-ER-Ckt Etag : W/"################################" ProvisioningState : Succeeded Sku : { "Name": "Standard_UnlimitedData", "Tier": "Standard", "Family": "UnlimitedData" } CircuitProvisioningState : Enabled ServiceProviderProvisioningState : Provisioned ServiceProviderNotes : ServiceProviderProperties : { "ServiceProviderName": "****", "PeeringLocation": "******", "BandwidthInMbps": 100 } ServiceKey : ************************************** Peerings : [] Authorizations : []
$ckt = Get-AzExpressRouteCircuit -ResourceGroupName "Test-ER-RG" -Name "Test-ER-Ckt" Get-AzExpressRouteCircuitPeeringConfig -Name "AzurePrivatePeering" -ExpressRouteCircuit $ckt
Name : AzurePrivatePeering Id : /subscriptions/***************************/resourceGroups/Test-ER-RG/providers/***********/expressRouteCircuits/Test-ER-Ckt/peerings/AzurePrivatePeering Etag : W/"################################" PeeringType : AzurePrivatePeering AzureASN : 12076 PeerASN : 123## PrimaryPeerAddressPrefix : 172.16.0.0/30 SecondaryPeerAddressPrefix : 172.16.0.4/30 PrimaryAzurePort : SecondaryAzurePort : SharedKey : VlanId : 200 MicrosoftPeeringConfig : null ProvisioningState : Succeeded
Get-AzExpressRouteCircuitPeeringConfig : Sequence contains no matching element At line:1 char:1 + Get-AzExpressRouteCircuitPeeringConfig -Name "MicrosoftPeering ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzExpr...itPeeringConfig], InvalidOperationException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.GetAzureExpressRouteCircuitPeeringConfigCommand
Get-AzExpressRouteCircuitRouteTable : The BGP Peering AzurePublicPeering with Service Key <ServiceKey> is not found. StatusCode: 400
Get-AzExpressRouteCircuitStats -ResourceGroupName <ResourceGroupName> -ExpressRouteCircuitName <CircuitName> -PeeringType 'AzurePrivatePeering'
Get-AzExpressRouteCircuitRouteTable : The BGP Peering AzurePublicPeering with Service Key <ServiceKey> is not found. StatusCode: 400
$ckt = Get-AzExpressRouteCircuit -ResourceGroupName "Test-ER-RG" -Name "Test-ER-Ckt" Get-AzExpressRouteCircuitPeeringConfig -Name "MicrosoftPeering" -ExpressRouteCircuit $ckt
Get-AzExpressRouteCircuitRouteTable -DevicePath Primary -ExpressRouteCircuitName <CircuitName> -PeeringType AzurePrivatePeering -ResourceGroupName <ResourceGroupName>