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_tools
missing_linux_example
windows_first
Summary
The documentation page demonstrates a strong Windows bias by exclusively using PowerShell and Az PowerShell cmdlets for all automation and database management examples. There are no references to Linux-native tools, Bash, or cross-platform scripting alternatives. Instructions for installing modules and configuring Hybrid Runbook Workers assume a Windows environment (elevated PowerShell prompt), and no Linux-specific guidance or examples are provided. The documentation also references Windows environment variables and patterns before any mention of Linux equivalents.
Recommendations
  • Include equivalent Bash or Azure CLI examples for connecting and managing Azure SQL databases, especially for runbooks that can run on Linux Hybrid Workers.
  • Provide instructions for installing required modules and configuring Hybrid Runbook Workers on Linux systems, including package manager commands and environment setup.
  • Reference cross-platform scripting options (e.g., Python, Azure CLI) where possible, and clarify which steps or modules are Windows-specific.
  • Add notes or sections highlighting Linux compatibility and differences, such as environment variables, shell commands, and module installation.
  • Ensure that all code samples and instructions are clearly marked as Windows-specific if they do not apply to Linux, and provide Linux alternatives where feasible.
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

  if ($($env:computerName) -eq "Client") {"Runbook running on Azure Client sandbox"} else {"Runbook running on " + $env:computerName}
  Disable-AzContextAutosave -Scope Process
  Connect-AzAccount -Identity
  $Token = (Get-AZAccessToken -ResourceUrl https://database.windows.net).Token
  Invoke-Sqlcmd -ServerInstance azuresqlserverxyz.database.windows.net -Database MyDBxyz -AccessToken $token -query 'select * from TableXYZ'