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
windows_first
Summary
The documentation includes a prominent PowerShell-specific note and provides PowerShell code samples alongside other languages. The only shell/CLI-specific mention is for PowerShell, with no equivalent mention of Bash or Linux-native scripting. The note about sub-orchestrations support in PowerShell references the PowerShell SDK and migration guide, but there is no similar guidance or context for Linux or Bash users. PowerShell is a Windows-centric tool, and its exclusive mention and support note indicate a Windows bias.
Recommendations
  • Provide equivalent notes or guidance for Linux/Bash users if there are any platform-specific considerations for sub-orchestrations.
  • If PowerShell is mentioned as a supported shell, clarify support for Bash or other shells, or explicitly state if they are unsupported.
  • Consider including Bash or cross-platform shell examples or notes where PowerShell is referenced.
  • Ensure that CLI or scripting guidance is not exclusively tied to Windows tools, and mention cross-platform alternatives where possible.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased

Flagged Code Snippets

param($Context)

$deviceId = $Context.Input

# Step 1: Create an installation package in blob storage and return a SAS URL.
$sasUrl = Invoke-DurableActivity -FunctionName "CreateInstallationPackage" -Input $deviceId

# Step 2: Notify the device that the installation package is ready.
$deviceInfo = @{
    id = $deviceId
    url = $sasUrl
}
Invoke-DurableActivity -FunctionName "SendPackageUrlToDevice" -Input $deviceInfo

# Step 3: Wait for the device to acknowledge that it has downloaded the new package.
Start-DurableExternalEventListener -EventName "DownloadCompletedAck"

# Step 4: ...