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
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation exclusively uses PowerShell scripts and Azure PowerShell tasks for all examples, with no mention of Bash, Azure CLI, or Linux-native scripting alternatives. All code samples, instructions, and YAML pipeline tasks are PowerShell-centric, and there is no guidance for users working in Linux or cross-platform environments.
Recommendations:
  • Provide equivalent examples using Azure CLI and Bash scripts for Linux users.
  • Explicitly mention that PowerShell Core is cross-platform, but clarify any Windows-specific limitations or requirements.
  • Include YAML pipeline tasks using AzureCLI@2 and Bash@3 for parity with AzurePowerShell@5 examples.
  • Add a section discussing cross-platform considerations and how to adapt the scripts for Linux/macOS agents.
  • Reference official documentation for installing and using Azure CLI in addition to Azure PowerShell.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

- task: AzurePowerShell@5 displayName: Stop ADF Triggers inputs: scriptType: 'FilePath' ConnectedServiceNameARM: AzureDevServiceConnection scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1 ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name> -predeployment $true -deleteDeployment $false errorActionPreference: stop FailOnStandardError: False azurePowerShellVersion: 'LatestVersion' pwsh: True workingDirectory: ../
- task: AzurePowerShell@5 displayName: Start ADF Triggers inputs: scriptType: 'FilePath' ConnectedServiceNameARM: AzureDevServiceConnection scriptPath: ../ADFTemplates/PrePostDeploymentScript.ps1 ScriptArguments: -armTemplate "<your-arm-template-location>" -ResourceGroupName <your-resource-group-name> -DataFactoryName <your-data-factory-name>-predeployment $false -deleteDeployment $true errorActionPreference: stop FailOnStandardError: False azurePowerShellVersion: 'LatestVersion' pwsh: True workingDirectory: ../