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
Summary:
The documentation page demonstrates a Windows bias by providing detailed Azure PowerShell (Windows-centric) examples before Azure CLI, and by not including any Linux-specific shell or scripting examples (e.g., Bash). The PowerShell examples are more extensive and detailed than the CLI ones. There are no references to Linux tools, shell environments, or considerations for Linux users. The documentation assumes familiarity with PowerShell, which is traditionally a Windows tool, and does not offer parity for Linux-native workflows.
Recommendations:
- Provide Bash shell examples alongside Azure CLI commands to demonstrate Linux-native workflows.
- Ensure that Azure CLI examples are as detailed and comprehensive as the PowerShell examples, including notes on prerequisites and environment setup for Linux users.
- Explicitly mention that Azure CLI commands can be run on Linux, macOS, and Windows, and provide any OS-specific considerations if applicable.
- Where PowerShell is referenced, clarify that PowerShell Core is cross-platform, or provide alternative scripts for Bash/zsh users.
- Add a section or notes addressing Linux users, including any differences in command syntax, environment variables, or deployment steps.
Create pull request
Flagged Code Snippets
$azFw = @{
Name = '<fw-name>'
ResourceGroupName = '<resourcegroup-name>'
Location = '<location>'
VirtualNetworkName = '<vnet-name>'
PublicIpName = '<public-ip-name>'
PrivateRange = @("IANAPrivateRanges", "192.168.1.0/24", "192.168.1.10")
}
New-AzFirewall @azFw
$azfw = Get-AzFirewall -Name '<fw-name>' -ResourceGroupName '<resourcegroup-name>'
$azfw.PrivateRange = @("IANAPrivateRanges", "192.168.1.0/24", "192.168.1.10")
Set-AzFirewall -AzureFirewall $azfw
### Configure using Azure PowerShell
- Create a new firewall with a RouteServerId.