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 step-by-step instructions for applying an Azure Resource Manager lock using the Azure Portal, PowerShell, and Azure CLI. The PowerShell example is given before the Azure CLI example, which may suggest a Windows-first approach. The PowerShell example uses the Az PowerShell module, which is primarily associated with Windows environments, although it is cross-platform. There are no explicit Linux shell (bash) or scripting examples, and no mention of Linux-specific tools or workflows.
Recommendations
  • Present Azure CLI examples before PowerShell examples, as Azure CLI is natively cross-platform and widely used on Linux.
  • Explicitly mention that both Azure CLI and PowerShell are cross-platform, but highlight Azure CLI as the default for Linux users.
  • Add bash shell scripting examples or usage notes for Linux users where appropriate.
  • Where PowerShell is referenced, clarify that it is available on Linux and macOS as well as Windows, or provide a link to installation instructions for non-Windows platforms.
  • Consider including a table or section that compares the commands across different platforms (Windows, Linux, macOS) to reinforce parity.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
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

New-AzResourceLock -LockLevel CanNotDelete `
    -LockName <lock> `
    -ResourceName <storage-account> `
    -ResourceType Microsoft.Storage/storageAccounts `
    -ResourceGroupName <resource-group>