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
Summary
The documentation provides both Bash (Azure CLI) and PowerShell examples throughout, but PowerShell is given equal or greater prominence, and all scripting alternatives are either Bash or PowerShell. There is a strong focus on PowerShell, which is primarily a Windows tool, and no explicit mention or examples for native Linux shell environments beyond Bash. In some sections, PowerShell examples are presented before or alongside Bash, which can be perceived as a Windows-first approach. No Linux-specific tools or patterns (such as native Linux networking tools or automation approaches) are mentioned.
Recommendations
  • Ensure Bash (Azure CLI) examples are always presented before PowerShell, as Bash is more universally available across platforms.
  • Clarify that Bash examples are suitable for Linux and macOS users, and PowerShell is primarily for Windows users (unless using PowerShell Core on Linux).
  • Consider including explicit Linux shell environment notes or troubleshooting tips for common Linux distributions.
  • If possible, add a short section or callout for Linux users, confirming that all Azure CLI commands work natively on Linux and macOS.
  • Avoid assuming PowerShell is the default scripting environment; make it clear that it is an alternative for those who prefer it.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-27 00:00 #306 completed Biased Biased
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Clean Clean

Flagged Code Snippets

$SubnetArgs = @{
    Name = 'infrastructure-subnet'
    AddressPrefix = '10.0.0.0/23'
}
$subnet = New-AzVirtualNetworkSubnetConfig @SubnetArgs
$InfrastructureSubnet=(Get-AzVirtualNetworkSubnetConfig -Name $SubnetArgs.Name -VirtualNetwork $vnet).Id
New-AzPrivateDnsZone -ResourceGroupName $ResourceGroupName -Name $EnvironmentDefaultDomain
$VnetName = 'my-custom-vnet'
$EnvironmentDefaultDomain = (Get-AzContainerAppManagedEnv -EnvName $ContainerAppsEnvironment -ResourceGroupName $ResourceGroupName).DefaultDomain
New-AzPrivateDnsVirtualNetworkLink -ResourceGroupName $ResourceGroupName -Name $VnetName -VirtualNetwork $Vnet -ZoneName $EnvironmentDefaultDomain -EnableRegistration