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_tools
⚠️ windows_first
Summary:
The documentation demonstrates a Windows bias in several ways: the PowerShell sample is presented first and is specifically tied to Windows (with instructions to install Azure PowerShell on Windows and to create files in a Windows path, e.g., C:\ADFv2QuickStartPSH\). The CLI example is more cross-platform, but the overall structure and ordering prioritize Windows-centric tools and workflows. There are no explicit Linux shell or scripting examples, and the PowerShell instructions do not mention cross-platform compatibility.
Recommendations:
  • Add explicit Linux/macOS instructions for creating and managing the JSON file (e.g., use ~/ADFv2QuickStart/ or /tmp/ paths in addition to C:\).
  • Clarify that Azure PowerShell is cross-platform and provide installation links for Linux/macOS, or add a note about using PowerShell Core on non-Windows systems.
  • Consider presenting the Azure CLI example first, as it is natively cross-platform and more familiar to Linux users.
  • Add bash shell examples for common tasks (e.g., using jq or curl with the REST API for trigger management).
  • Review all file path examples and ensure both Windows and Linux/macOS formats are shown where relevant.
GitHub Create pull request

Scan History

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

Flagged Code Snippets

Get-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -Name "MyTrigger"
Get-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -Name "MyTrigger"
Set-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -Name "MyTrigger" -DefinitionFile "C:\ADFv2QuickStartPSH\MyTrigger.json"
Start-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -Name "MyTrigger"
Get-AzDataFactoryV2TriggerRun -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -TriggerName "MyTrigger" -TriggerRunStartedAfter "2017-12-08T00:00:00" -TriggerRunStartedBefore "2017-12-08T01:00:00"