Sad Tux - Windows bias detected
This page contains Windows bias

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

Detected Bias Types
powershell_heavy
windows_first
windows_tools
Summary
The documentation page demonstrates a moderate Windows bias. PowerShell examples and terminology are presented first and in greater detail than Azure CLI equivalents. Output samples and explanations use PowerShell syntax and conventions, and the installation instructions for Azure PowerShell are more prominent than those for Azure CLI. The use of PowerShell-specific tools and patterns (e.g., `$results = ...`, `foreach ($change in $results.Changes)`) is emphasized, while Linux-specific considerations (such as shell differences, color handling, or alternative scripting) are not addressed.
Recommendations
  • Alternate the order of PowerShell and Azure CLI examples so that CLI is presented first in some sections.
  • Provide equivalent output samples using Azure CLI syntax, especially for text output and programmatic inspection.
  • Include notes on running Azure CLI commands in Linux/macOS environments, such as shell differences and color handling.
  • Add Bash or shell scripting examples for programmatic evaluation of what-if results (e.g., using jq to parse JSON output).
  • Clarify that both PowerShell and CLI are cross-platform, and explicitly mention Linux/macOS compatibility.
  • Ensure installation instructions for Azure CLI are as detailed and prominent as those for PowerShell.
  • Avoid using only PowerShell conventions (e.g., `$variable`, `foreach`) in output and code samples; provide CLI/Bash alternatives.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

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"