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
missing_linux_example
windows_tools
windows_first
Summary
The documentation exclusively uses Azure PowerShell cmdlets for all configuration steps, with no mention of Linux, Bash, or cross-platform alternatives such as Azure CLI. All example commands use Windows-style file paths (e.g., C:\NetworkConfig.xml), and there are no instructions or examples for users on Linux or macOS. The installation instructions and tooling references are Windows-centric, and there is no parity in guidance for non-Windows environments.
Recommendations
  • Provide equivalent Azure CLI examples for all configuration steps, as Azure CLI is cross-platform and works on Windows, Linux, and macOS.
  • Include Linux/macOS file path examples alongside Windows paths (e.g., /home/user/NetworkConfig.xml).
  • Add a section or callouts for users on Linux/macOS, including any prerequisites or differences in workflow.
  • Where PowerShell is required due to classic model limitations, explicitly state this and suggest using PowerShell Core (pwsh), which is available cross-platform, with installation guidance for Linux/macOS.
  • Review and update all tooling references to clarify platform compatibility and provide links to cross-platform installation guides.
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-AzureLocalNetworkGateway -GatewayName MyLocalNetwork -IpAddress <MyLocalGatewayIp> -AddressSpace <MyLocalNetworkAddress>
    
    New-AzureVirtualNetworkGatewayConnection -connectedEntityId <local-network-gateway-id> -gatewayConnectionName Azure2Local -gatewayConnectionType IPsec -sharedKey abc123 -virtualNetworkGatewayId <azure-s2s-vpn-gateway-id>
    
    Remove-AzureVNetGateway –VnetName MyAzureVNET
    
    Set-AzureVNetConfig -ConfigurationPath 'C:\NetworkConfig.xml'
    
    New-AzureVNetGateway -VNetName MyAzureVNET -GatewayType DynamicRouting -GatewaySKU HighPerformance
    
    New-AzureDedicatedCircuitLink -ServiceKey <service-key> -VNetName MyAzureVNET
    
    New-AzureVirtualNetworkGateway -VNetName MyAzureVNET -GatewayName S2SVPN -GatewayType DynamicRouting -GatewaySKU  HighPerformance
    
    Get-AzureVirtualNetworkGateway
   
    GatewayId            : 348ae011-ffa9-4add-b530-7cb30010565e
    GatewayName          : S2SVPN
    LastEventData        :
    GatewayType          : DynamicRouting
    LastEventTimeStamp   : 5/29/2015 4:41:41 PM
    LastEventMessage     : Successfully created a gateway for the following virtual network: GNSDesMoines
    LastEventID          : 23002
    State                : Provisioned
    VIPAddress           : 104.43.x.y
    DefaultSite          :
    GatewaySKU           : HighPerformance
    Location             :
    VnetId               : 979aabcf-e47f-4136-ab9b-b4780c1e1bd5
    SubnetId             :
    EnableBgp            : False
    OperationDescription : Get-AzureVirtualNetworkGateway
    OperationId          : 42773656-85e1-a6b6-8705-35473f1e6f6a
    OperationStatus      : Succeeded
    
    Get-AzureLocalNetworkGateway

    GatewayId            : 532cb428-8c8c-4596-9a4f-7ae3a9fcd01b
    GatewayName          : MyLocalNetwork
    IpAddress            : 23.39.x.y
    AddressSpace         : {10.1.2.0/24}
    OperationDescription : Get-AzureLocalNetworkGateway
    OperationId          : ddc4bfae-502c-adc7-bd7d-1efbc00b3fe5
    OperationStatus      : Succeeded
    
    Get-AzureVNetConfig –ExportToFile "C:\NetworkConfig.xml"