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_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 ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

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