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
windows_first
powershell_heavy
windows_tools
Summary
The documentation page exhibits a Windows-first bias by referencing PowerShell objects and patterns as defaults, describing modification workflows in terms of PowerShell object manipulation, and using Windows-style file paths (e.g., '.\OSSPolicy.json'). Linux/Unix equivalents (such as bash scripting, forward slashes in file paths, or Linux-native workflows) are not mentioned or exemplified. The documentation assumes familiarity with PowerShell and Windows conventions, which may hinder Linux users.
Recommendations
  • Provide Linux/Unix-specific examples alongside or before Windows/PowerShell examples, including bash commands and forward-slash file paths (e.g., './OSSPolicy.json').
  • Avoid describing PowerShell object manipulation as the default; instead, present both PowerShell and CLI/file-based workflows equally, or clarify which is for which platform.
  • Explicitly mention that file redirection and path syntax may differ on Linux/macOS (e.g., use '>' for redirection and '/' for paths).
  • Wherever PowerShell is referenced, provide equivalent bash or shell scripting guidance for Linux users.
  • Add a section or callout for cross-platform differences, especially regarding file handling and scripting environments.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

az dataprotection backup-policy trigger create-schedule --interval-type Weekly --interval-count 1 --schedule-days 2021-08-15T22:00:00 2021-08-18T22:00:00 2021-08-20T22:00:00
[
  "R/2021-08-15T22:00:00+00:00/P1W",
  "R/2021-08-18T22:00:00+00:00/P1W",
  "R/2021-08-20T22:00:00+00:00/P1W"
]

az dataprotection backup-policy trigger set --policy .\OSSPolicy.json  --schedule R/2021-08-15T22:00:00+00:00/P1W R/2021-08-18T22:00:00+00:00/P1W R/2021-08-20T22:00:00+00:00/P1W > EditedOSSPolicy.json

az dataprotection backup-policy tag create-absolute-criteria --absolute-criteria FirstOfMonth > tagCriteria.JSON
az dataprotection backup-policy tag set --criteria .\tagCriteria.JSON --name Monthly --policy .\AddedRetentionRulePolicy.JSON > AddedRetentionRuleAndTag.JSON

az dataprotection backup-policy retention-rule create-lifecycle --retention-duration-count 6 --retention-duration-type Months --source-datastore VaultStore > VaultLifeCycle.JSON

az dataprotection backup-policy retention-rule set --lifecycles .\VaultLifeCycle.JSON --name Monthly --policy .\EditedOSSPolicy.json > AddedRetentionRulePolicy.JSON

az dataprotection backup-policy tag create-generic-criteria --days-of-week Sunday Friday > tagCriteria.JSON
az dataprotection backup-policy tag set --criteria .\tagCriteria.JSON --name Monthly --policy .\AddedRetentionRulePolicy.JSON > AddedRetentionRuleAndTag.JSON