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

Bias Types:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation presents both Azure PowerShell (typically associated with Windows/PowerShell environments) and Azure CLI (cross-platform) examples in parallel, but consistently lists Azure PowerShell first in every code example section. Instructions for opening a terminal default to PowerShell (in VS Code) before mentioning Bash, and there is more detailed explanation of PowerShell-specific syntax (such as the backtick escape character) than for Bash. Visual Studio Code is listed as a prerequisite, which is cross-platform, but no mention is made of other editors or shells common on Linux. There are no outright missing Linux examples, but the ordering and depth of PowerShell coverage indicate a Windows-first bias.
Recommendations:
  • Alternate the order of Azure CLI and Azure PowerShell examples, or present Azure CLI first to better reflect cross-platform usage.
  • Ensure explanations of Bash/Linux shell syntax (such as escape characters and line continuation) are as detailed as those for PowerShell.
  • Explicitly mention that all CLI examples work on Linux, macOS, and Windows, and clarify that Bash is the default shell on Linux/macOS.
  • Consider referencing other popular Linux editors (e.g., nano, vim) or terminal environments in addition to Visual Studio Code.
  • Where possible, use neutral language (e.g., 'open a terminal') instead of 'open a PowerShell terminal', unless the example is PowerShell-specific.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased

Flagged Code Snippets

Get-AzResource -ResourceGroupName $mrgname
Connect-AzAccount
$definitionid = (Get-AzManagedApplicationDefinition -ResourceGroupName appDefinitionGroup -Name sampleManagedApplication).ManagedApplicationDefinitionId
Get-AzManagedApplication -Name demoManagedApplication -ResourceGroupName applicationGroup
Get-AzManagedApplication -Name demoManagedApplication -ResourceGroupName applicationGroup | Select-Object -ExpandProperty Properties
Get-AzRoleAssignment -ResourceGroupName $mrgname -RoleDefinitionName Owner
Get-AzManagedApplicationDefinition -ResourceGroupName appDefinitionGroup