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
missing_linux_example
windows_first
Summary
The documentation provides a PowerShell example for configuring snapshot retention but does not include equivalent instructions or examples for Linux users (e.g., using Azure CLI or REST API). The only command-line automation shown is via PowerShell, which is primarily a Windows tool. There is no mention of Linux-specific tools or parity in scripting approaches, and the PowerShell section appears before any mention of cross-platform methods.
Recommendations
  • Add equivalent Azure CLI examples for configuring snapshot retention, as Azure CLI is cross-platform and widely used on Linux.
  • Include REST API instructions or examples for users who may automate backup configuration outside of PowerShell or the Azure portal.
  • Explicitly mention that PowerShell is available on Linux and macOS, or clarify when examples are cross-platform.
  • Ensure that all automation and scripting instructions are presented in a platform-neutral way, or provide both Windows (PowerShell) and Linux (Azure CLI/bash) examples side by side.
  • Consider adding a section or note for Linux administrators highlighting supported tools and recommended workflows.
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-19 00:01 #85 completed Clean Clean
2025-07-19 13:51 #54 completed Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

$bkpPol = Get-AzRecoveryServicesBackupProtectionPolicy -WorkloadType "AzureVM"
$bkpPol.SnapshotRetentionInDays=5
Set-AzRecoveryServicesBackupProtectionPolicy -policy $bkpPol