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
missing_linux_example
Summary
The documentation provides detailed PowerShell instructions (a Windows-centric tool) before Azure CLI examples, and does not include any explicit Linux or Bash-specific guidance. The PowerShell section is more extensive and comes before the cross-platform Azure CLI, which may disadvantage Linux/macOS users. There are no Linux-specific examples or notes, and the template and portal instructions are platform-neutral.
Recommendations
  • Add explicit Bash/Linux shell examples for Azure CLI commands, including any necessary authentication or environment setup steps for Linux users.
  • Reorder the command-line sections to present Azure CLI (cross-platform) before PowerShell, or clarify that Azure CLI is recommended for Linux/macOS.
  • Include notes or links for installing and using Azure CLI on Linux/macOS.
  • Where PowerShell is used, clarify that it is primarily for Windows users, and suggest alternatives for Linux/macOS.
  • Consider providing REST API or SDK examples, which are platform-agnostic, to further improve 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 Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased

Flagged Code Snippets

To check the current settings for container soft delete, call the [Get-AzStorageBlobServiceProperty](/powershell/module/az.storage/get-azstorageblobserviceproperty) command:

To disable container soft delete, call the **Disable-AzStorageContainerDeleteRetentionPolicy** command.

# [Azure CLI](#tab/azure-cli)

To enable container soft delete with Azure CLI, first install Azure CLI, version 2.26.0 or later. Next, call the [az storage account blob-service-properties update](/cli/azure/storage/account/blob-service-properties#az-storage-account-blob-service-properties-update) command and specify the number of days for the retention period. Remember to replace the values in angle brackets with your own values: