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_tools
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation page demonstrates a strong Windows and PowerShell bias. All automation and scripting examples use PowerShell cmdlets, with no mention of Bash, Azure CLI, or Linux-native tools. Instructions for module installation and hybrid worker setup are PowerShell-specific, and there are no Linux or cross-platform alternatives provided. The documentation assumes a Windows-centric workflow throughout.
Recommendations:
  • Provide equivalent examples using Azure CLI (az) and Bash scripts for connecting and managing Azure SQL databases.
  • Include instructions for installing required modules or packages on Linux-based Hybrid Runbook Workers, not just via PowerShell.
  • Mention and demonstrate how to use Azure Automation with Python runbooks, which are supported and cross-platform.
  • Explicitly state cross-platform compatibility where applicable, and clarify any Windows-specific requirements.
  • Reorder or balance the presentation so that Linux and cross-platform methods are given equal prominence to PowerShell/Windows approaches.
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 ❌ Biased

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'