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
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation is heavily biased towards Windows environments, specifically PowerShell. All configuration steps and code samples use Azure PowerShell cmdlets, with no mention of Azure CLI, Bash, or Linux-native tools. File paths and command syntax are Windows-centric (e.g., C:\NetworkConfig.xml). There are no examples or guidance for users on Linux or macOS platforms, and the installation instructions focus solely on PowerShell modules.
Recommendations:
- Provide equivalent Azure CLI examples for all PowerShell commands, as Azure CLI is cross-platform and widely used on Linux and macOS.
- Include Linux/macOS file path examples (e.g., /home/user/NetworkConfig.xml) alongside Windows paths.
- Add a section or callouts for users on Linux/macOS, including installation instructions for Azure CLI and/or PowerShell Core on those platforms.
- Where possible, use platform-agnostic language and tools, or clearly indicate when a step is Windows-specific.
- Consider reordering or parallelizing instructions so that Linux/macOS methods are presented alongside Windows methods, rather than Windows-first.
Create pull request
Flagged Code Snippets
Set-AzureVNetConfig -ConfigurationPath 'C:\NetworkConfig.xml'
New-AzureVNetGateway -VNetName MyAzureVNET -GatewayType DynamicRouting -GatewaySKU HighPerformance
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>
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
Remove-AzureVNetGateway –VnetName MyAzureVNET
Get-AzureVNetConfig –ExportToFile "C:\NetworkConfig.xml"