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, but PowerShell (which is Windows-centric) is consistently presented first in all sections, and all sample outputs are shown in PowerShell syntax. There are no Linux-specific shell examples (e.g., Bash), and the output formatting and explanations are tailored to PowerShell users. While Azure CLI is cross-platform, the documentation does not explicitly address Linux environments or provide Linux-specific guidance, which may disadvantage Linux users.
Recommendations:
- Alternate the order of PowerShell and Azure CLI examples, or present CLI examples first to avoid implicit Windows-first bias.
- Include explicit Bash/Linux shell examples and outputs where relevant, especially for scripting and environment setup.
- Provide sample outputs in both PowerShell and CLI (JSON/text) formats to reflect the experience on different platforms.
- Add notes or sections highlighting any platform-specific considerations (e.g., color output, file paths, environment variables) for Linux/macOS users.
- Ensure installation instructions for Azure CLI and PowerShell clearly indicate cross-platform support and provide Linux/macOS-specific commands where appropriate.
Create pull request
Flagged Code Snippets
Install-Module -Name Az -Force
New-AzResourceGroup `
-Name ExampleGroup `
-Location centralus
New-AzResourceGroupDeployment `
-ResourceGroupName ExampleGroup `
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/azure-resource-manager/what-if/what-if-before.json"
New-AzResourceGroupDeployment `
-Whatif `
-ResourceGroupName ExampleGroup `
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/azure-resource-manager/what-if/what-if-after.json"
$results = Get-AzResourceGroupDeploymentWhatIfResult `
-ResourceGroupName ExampleGroup `
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/azure-resource-manager/what-if/what-if-after.json"
foreach ($change in $results.Changes)
{
$change.Delta
}
New-AzResourceGroupDeployment `
-ResourceGroupName ExampleGroup `
-Mode Complete `
-Confirm `
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/azure-resource-manager/what-if/azuredeploy.json"