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
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by providing detailed PowerShell examples before CLI examples, using Windows-centric tooling (PowerShell cmdlets), and offering more step-by-step guidance for PowerShell users. The CLI section is less detailed and lacks parity in explanation and context. There are no explicit Linux-specific examples or references to Linux shell environments, and the documentation assumes familiarity with Windows tools and patterns.
Recommendations:
  • Provide Linux shell (bash) equivalents for all PowerShell examples, especially for tasks like date/time manipulation and JSON policy creation.
  • Ensure CLI examples are as detailed as PowerShell ones, including step-by-step breakdowns and explanations of parameters.
  • Explicitly mention compatibility and usage on Linux/macOS platforms, including any prerequisites or differences in behavior.
  • Add notes or examples for common Linux tools (e.g., jq for JSON manipulation, date for time handling) where relevant.
  • Reorder sections or present CLI and PowerShell examples side-by-side to avoid the perception of Windows-first bias.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-19 13:51 #54 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

$SchPol = Get-AzRecoveryServicesBackupSchedulePolicyObject -PolicySubType "Enhanced" -WorkloadType "AzureVM" -ScheduleRunFrequency “Hourly”
$schedulePolicy = Get-AzRecoveryServicesBackupSchedulePolicyObject -WorkloadType AzureVM -BackupManagementType AzureVM -PolicySubType Enhanced -ScheduleRunFrequency Hourly $timeZone = Get-TimeZone -ListAvailable | Where-Object { $_.Id -match "India" } $schedulePolicy.ScheduleRunTimeZone = $timeZone.Id $windowStartTime = (Get-Date -Date "2022-04-14T08:00:00.00+00:00").ToUniversalTime() $schPol.HourlySchedule.WindowStartTime = $windowStartTime $schedulePolicy.HourlySchedule.ScheduleInterval = 4 $schedulePolicy.HourlySchedule.ScheduleWindowDuration = 23
$targetVault = Get-AzRecoveryServicesVault -ResourceGroupName "Contoso-docs-rg" -Name "testvault" $pol = Get-AzRecoveryServicesBackupProtectionPolicy -Name "NewPolicy" -VaultId $targetVault.ID Enable-AzRecoveryServicesBackupProtection -Policy $pol -Name "V2VM" -ResourceGroupName "RGName1" -VaultId $targetVault.ID