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
⚠️
windows_tools
Summary:
The documentation page demonstrates a Windows bias by providing only Azure PowerShell examples for configuring Azure Firewall service tags. There are no equivalent examples for Azure CLI (which is cross-platform and commonly used on Linux/macOS), nor are there references to Linux-native tools or shell commands. The configuration section leads with and exclusively uses PowerShell, which is traditionally associated with Windows environments.
Recommendations:
- Add equivalent Azure CLI examples for all PowerShell commands shown, ensuring Linux and macOS users have clear guidance.
- Explicitly mention that Azure CLI can be used from any platform, and provide bash/zsh-friendly command samples.
- Consider including a table or section that compares PowerShell and CLI usage for common tasks.
- Review and update the documentation to ensure that Linux and cross-platform users are not required to interpret or translate PowerShell scripts themselves.
Create pull request
Flagged Code Snippets
$FirewallName = "AzureFirewall"
$ResourceGroup = "AzureFirewall-RG"
$azfirewall = Get-AzFirewall -Name $FirewallName -ResourceGroupName $ResourceGroup
$rule = New-AzFirewallNetworkRule -Name "AllowSQL" -Description "Allow access to Azure Database as a Service (SQL, MySQL, PostgreSQL, Datawarehouse)" -SourceAddress "10.0.0.0/16" -DestinationAddress Sql -DestinationPort 1433 -Protocol TCP
$ruleCollection = New-AzFirewallNetworkRuleCollection -Name "Data Collection" -Priority 1000 -Rule $rule -ActionType Allow
$azFirewall.NetworkRuleCollections.add($ruleCollection)
Set-AzFirewall -AzureFirewall $azfirewall