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
windows_tools
missing_linux_example
Summary
The documentation page demonstrates a Windows bias by providing only a PowerShell script to identify function apps for migration, referencing Azure PowerShell as the primary tool, and omitting equivalent Bash/Azure CLI/Linux shell examples. Windows/PowerShell tools and workflows are mentioned first and exclusively, with no Linux or cross-platform alternatives presented for key administrative steps.
Recommendations
  • Provide equivalent Azure CLI (az) or Bash scripts alongside PowerShell examples for identifying and managing function apps, ensuring Linux and macOS users have clear guidance.
  • Reference cross-platform tools (e.g., Azure CLI) before or alongside Windows-specific tools like Azure PowerShell.
  • Explicitly mention that all steps can be performed on Linux/macOS, and provide any necessary command-line adjustments or prerequisites for those platforms.
  • Include notes or links to documentation for Linux/macOS environments where relevant, especially for local development and deployment.
  • Review all code and command examples to ensure parity between Windows and Linux, avoiding exclusive reliance on Windows tools or patterns.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

$Subscription = '<YOUR SUBSCRIPTION ID>' 
 
Set-AzContext -Subscription $Subscription | Out-Null

$FunctionApps = Get-AzFunctionApp

$AppInfo = @{}

foreach ($App in $FunctionApps)
{
     if ($App.ApplicationSettings["FUNCTIONS_EXTENSION_VERSION"] -like '*1*')
     {
          $AppInfo.Add($App.Name, $App.ApplicationSettings["FUNCTIONS_EXTENSION_VERSION"])
     }
}

$AppInfo