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 moderate Windows bias. PowerShell is featured heavily in code examples, often before or alongside Azure CLI, and is the only scripting language shown for advanced scenarios (e.g., multi-source rules, Azure Front Door filtering). There are no Linux shell (bash) or cross-platform scripting examples outside of Azure CLI, and the PowerShell examples are not explicitly marked as cross-platform (i.e., using PowerShell Core). While the Azure CLI is included, the advanced and inline scripting guidance favors PowerShell, which is traditionally associated with Windows environments.
Recommendations:
- Provide bash (Linux shell) script examples for all scenarios where PowerShell is shown, especially for advanced use cases like multi-source rules and HTTP header filtering.
- Clarify that Azure CLI commands are cross-platform and can be run on Linux, macOS, and Windows.
- Where PowerShell is used, specify if the commands are compatible with PowerShell Core (cross-platform) or only Windows PowerShell.
- In advanced scenarios, ensure that Azure CLI and bash examples are given equal prominence to PowerShell.
- Consider including a note or table summarizing which management tools are available on which platforms.
- Avoid presenting PowerShell examples before Azure CLI or bash unless there is a technical reason to do so.
Create pull request
Flagged Code Snippets
### [PowerShell](#tab/powershell)
You can run the following command in [Azure Cloud Shell](https://shell.azure.com). For more information about the command, see [`Add-AzWebAppAccessRestrictionRule`](/powershell/module/Az.Websites/Add-AzWebAppAccessRestrictionRule).
### [PowerShell](#tab/powershell)
You can run the following command in [Cloud Shell](https://shell.azure.com). For more information about the command, see [`Set-AzResource`](/powershell/module/az.resources/set-azresource). Accepted values for `scmIpSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.