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:
⚠️
windows_first
⚠️
powershell_heavy
Summary:
The documentation provides both Azure PowerShell and Azure CLI examples for network resource queries, but PowerShell examples are consistently presented first. There are no Linux-specific shell examples (e.g., Bash with Azure CLI), and the use of PowerShell as the primary scripting language may implicitly favor Windows users. However, Azure CLI commands are included, which are cross-platform, mitigating some bias. No Windows-only tools or patterns are mentioned, but the ordering and scripting language preference suggest a mild Windows-first bias.
Recommendations:
- Alternate the order of PowerShell and Azure CLI examples, or present Azure CLI (which is cross-platform) first to better support Linux users.
- Explicitly note that Azure CLI commands can be run in Bash on Linux/macOS, and provide example shell prompts (e.g., $ for Bash, PS> for PowerShell) to clarify context.
- Where possible, include Bash script snippets for common tasks, especially in sections where PowerShell scripting is shown.
- Add a brief section or note highlighting that all Azure CLI commands are fully supported on Linux, macOS, and Windows.
- Review linked documents to ensure Linux parity in examples and instructions.
Create pull request
Flagged Code Snippets
Get-AzNetworkSecurityGroup -ResourceGroupName "RESOURCEGROUP"
Get-AzRouteTable -ResourceGroupName "RESOURCEGROUP"
$clusterNICs = Get-AzNetworkInterface -ResourceGroupName "RESOURCEGROUP" | where-object {$_.Name -like "*node*"}
$nodes = @()
foreach($nic in $clusterNICs) {
$node = new-object System.Object
$node | add-member -MemberType NoteProperty -name "Type" -value $nic.Name.Split('-')[1]
$node | add-member -MemberType NoteProperty -name "InternalIP" -value $nic.IpConfigurations.PrivateIpAddress
$node | add-member -MemberType NoteProperty -name "InternalFQDN" -value $nic.DnsSettings.InternalFqdn
$nodes += $node
}
$nodes | sort-object Type