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:
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation provides command-line examples only for Azure CLI and Azure PowerShell, both of which are available cross-platform but are traditionally associated with Windows environments. There are no explicit Linux shell (bash) examples, nor are there references to Linux-native tools or workflows. The tooling recommendations (Visual Studio, Visual Studio Code) are Windows-centric, with no mention of Linux editors or shell environments. PowerShell examples are given equal prominence to Azure CLI, and in some places, PowerShell is mentioned before Linux alternatives.
Recommendations:
- Add explicit bash/zsh shell examples for all CLI commands, demonstrating usage in a typical Linux terminal environment.
- Mention that Azure CLI is fully supported on Linux and macOS, and provide installation links for those platforms.
- Include Linux-native editor recommendations (e.g., Vim, Emacs, nano) or at least acknowledge their use.
- Clarify that PowerShell Core is cross-platform, but also show how to use CLI commands in bash scripts.
- When referencing tools, avoid listing Windows tools (Visual Studio) before cross-platform or Linux-native options.
- Add a section or callout for Linux/macOS users, highlighting any differences or tips for those environments.
Create pull request
Flagged Code Snippets
Get-AzContainerRegistry -ResourceGroupName "<resource-group-name>" -Name "<registry-name>" | Select-Object LoginServer
Publish-AzBicepModule -FilePath ./storage.bicep -Target br:exampleregistry.azurecr.io/bicep/modules/storage:v1 -DocumentationUri https://www.contoso.com/exampleregistry.html
$resourceGroupName = "{provide-a-resource-group-name}"
$templateFile = "{provide-the-path-to-the-bicep-file}"
New-AzResourceGroup -Name $resourceGroupName -Location eastus
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateFile $templateFile
$resourceGroupName = "{provide-the-resource-group-name}"
Remove-AzResourceGroup -Name $resourceGroupName
Get-AzContainerRegistry -ResourceGroupName "<resource-group-name>" -Name "<registry-name>" | Select-Object LoginServer
Publish-AzBicepModule -FilePath ./storage.bicep -Target br:exampleregistry.azurecr.io/bicep/modules/storage:v1 -DocumentationUri https://www.contoso.com/exampleregistry.html