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
missing_linux_example
Summary
The documentation provides a PowerShell-only example for configuring the 'Public Network Access' property, with no equivalent CLI or Linux-native instructions. PowerShell is a Windows-centric tool, and its exclusive use here suggests a Windows bias. Additionally, the documentation references Windows and Linux agents in parity, but the only explicit command-line example is for PowerShell, and there are no Azure CLI, Bash, or ARM template examples. The documentation also describes PowerShell DSC in the State Configuration section, which is Windows-focused, and does not mention Linux equivalents such as Chef, Ansible, or native Linux DSC support.
Recommendations
  • Provide equivalent Azure CLI (az) and/or Bash examples for all PowerShell scripts, especially for configuring 'publicNetworkAccess'.
  • Include ARM/Bicep template snippets for resource property configuration to support cross-platform automation.
  • Mention and provide examples for Linux-native configuration management tools (e.g., Ansible, Chef) or clarify Linux DSC support.
  • Ensure that any references to agents, configuration, or automation steps are accompanied by both Windows and Linux instructions where applicable.
  • Consider reordering or balancing examples so that Linux and Windows are presented with equal prominence.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-11 00:00 #95 cancelled Clean Clean
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

$account = Get-AzResource -ResourceType Microsoft.Automation/automationAccounts -ResourceGroupName "<resourceGroupName>" -Name "<automationAccountName>" -ApiVersion "2020-01-13-preview"
$account.Properties | Add-Member -Name 'publicNetworkAccess' -Type NoteProperty -Value $false -Force
$account | Set-AzResource -Force -ApiVersion "2020-01-13-preview"