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
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation page demonstrates a strong Windows bias by exclusively providing PowerShell examples for per-app scaling, referencing only Windows-centric tools (Az PowerShell cmdlets), and omitting equivalent Linux-native or cross-platform CLI examples. The PowerShell section appears first and is the only command-line example provided, with no mention of Azure CLI (az), Bash, or other Linux-friendly approaches. This may hinder accessibility for Linux users or those working in non-Windows environments.
Recommendations:
- Add equivalent Azure CLI (az) examples for all PowerShell commands, showing how to enable per-app scaling and configure worker counts using cross-platform tools.
- Include Bash shell script examples where appropriate, especially for configuring app settings via REST or CLI.
- Explicitly mention that PowerShell commands can be run cross-platform (if true), or clarify any platform limitations.
- Reorder sections or provide parallel examples so that Linux/cross-platform tools are not secondary to Windows/PowerShell.
- Reference Linux tools and workflows in the narrative, not just in code samples.
Create pull request
Flagged Code Snippets
New-AzAppServicePlan -ResourceGroupName $ResourceGroup -Name $AppServicePlan `
-Location $Location `
-Tier Premium -WorkerSize Small `
-NumberofWorkers 5 -PerSiteScaling $true
Set-AzAppServicePlan -ResourceGroupName $ResourceGroup `
-Name $AppServicePlan -PerSiteScaling $true
# Get the app we want to configure to use "PerSiteScaling"
$newapp = Get-AzWebApp -ResourceGroupName $ResourceGroup -Name $webapp
# Modify the NumberOfWorkers setting to the desired value
$newapp.SiteConfig.NumberOfWorkers = 2
# Post updated app back to Azure
Set-AzWebApp $newapp