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
Summary
The documentation provides detailed instructions and examples for creating a storage task using the Azure Portal, PowerShell, Azure CLI, Bicep, and ARM templates. However, the scripting example order places PowerShell (a Windows-centric tool) before Azure CLI, and the PowerShell section is more verbose and detailed. There are no explicit Linux shell (bash) examples, and the PowerShell module is referenced as the primary scripting interface, which may disadvantage Linux users. There is no mention of Linux-specific tooling or considerations.
Recommendations
  • Provide bash shell examples using Azure CLI, including command-line usage and environment setup, to ensure Linux users have parity.
  • Consider placing Azure CLI examples before PowerShell, as Azure CLI is cross-platform and more common on Linux/macOS.
  • Explicitly mention that Azure CLI commands work on Linux, macOS, and Windows, and provide any Linux-specific notes if needed.
  • If PowerShell is referenced, clarify that PowerShell Core is cross-platform, or provide equivalent bash examples where possible.
  • Add a section or note about installing and using the Azure CLI on Linux, including package manager instructions.
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-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-19 00:01 #85 completed Clean Clean
2025-07-13 21:37 #48 completed Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

   $condition = "<condition-json>"
   
    $operation = New-AzStorageActionTaskOperationObject `
    -Name "<operation-name>" `
    -Parameter @{"<parameter-name>"= "<parameter-value"} `
    -OnFailure break `
    -OnSuccess continue

   
   $task = New-AzStorageActionTask `
   -Name "<storage-task-name>" `
   -ResourceGroupName "<resource-group>" `
   -Location "<location>" `
   -Enabled `
   -Description "<description>" `
   -IfCondition $condition `
   -IfOperation $operation `
   -EnableSystemAssignedIdentity:$true
   
   $managedIdentity = Get-AzUserAssignedIdentity -ResourceGroupName <resource-group> -Name <user-assigned-managed-identity-name>

   $task = New-AzStorageActionTask `
   -Name "<storage-task-name>" `
   -ResourceGroupName "<resource-group>" `
   -Location "<location>" `
   -Enabled `
   -Description "<description>" `
   -IfCondition $condition `
   -IfOperation $operation `
   -UserAssignedIdentity $managedIdentity.Id