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:
⚠️ 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 ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ✅ 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