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 instructions, sample scripts, and YAML pipeline tasks are PowerShell-centric, assuming the user will use PowerShell Core even in cross-platform scenarios. There are no Linux/Unix shell or Azure CLI equivalents provided, and the documentation does not address how to achieve the same tasks outside of the PowerShell ecosystem.
Recommendations:
- Provide equivalent examples using Azure CLI and Bash scripts for Linux users.
- Explicitly mention that PowerShell Core is cross-platform, but also offer native Bash/CLI alternatives for users who prefer not to use PowerShell.
- Include YAML pipeline tasks that demonstrate running Bash scripts or AzureCLI@2 tasks to achieve the same pre- and post-deployment automation.
- Add a section discussing cross-platform considerations and how to adapt the workflow for Linux-based build agents.
- Reference official Azure CLI documentation and provide links to relevant CLI commands for managing Data Factory triggers and deployments.
Create pull request
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: ../