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 consistently provides PowerShell examples and instructions, often with explicit directions to 'Open PowerShell as Administrator', which is a Windows-specific pattern. PowerShell examples are given equal prominence to Azure CLI, but the language and instructions (e.g., 'as Administrator') are Windows-centric. There is no mention of Bash, Linux shells, or cross-platform scripting environments, and no guidance for Linux users on using PowerShell Core or alternative shells. The ordering of tabs sometimes places PowerShell before CLI, reinforcing a Windows-first approach.
Recommendations:
- Clarify that PowerShell examples can be run cross-platform using PowerShell Core, and provide instructions for Linux/macOS users where appropriate.
- Avoid instructions like 'Open PowerShell as Administrator' unless necessary, or provide equivalent Linux/macOS instructions (e.g., 'Open a terminal').
- Explicitly mention that Azure CLI commands can be run in Bash, zsh, or other Linux/macOS shells, and provide example commands for those environments if there are differences (e.g., quoting, environment variables).
- Consider reordering tabs or examples so that Azure CLI (which is cross-platform) appears before PowerShell, or at least alternate the order to avoid implicit prioritization.
- Where possible, add Bash script examples or note that Azure CLI is the recommended tool for Linux/macOS users.
- If PowerShell is required, mention how to install and use PowerShell Core on Linux/macOS.
Create pull request
Flagged Code Snippets
Connect-AzAccount
$subscriptionid = <'your subscription id here'>
Set-AzContext -SubscriptionId $subscriptionid
$parameters = @{
ResourceGroupName = '<Resource_Group_Name>'
ServerName = '<Server_Name>'
DatabaseName = '<Database_Name>'
}
Set-AzSqlDatabase @parameters -ZoneRedundant
Connect-AzAccount
$subscriptionid = <'your subscription id here'>
Set-AzContext -SubscriptionId $subscriptionid
$parameters = @{
ResourceGroupName = '<Resource_Group_Name>'
ServerName = '<Server_Name>'
ElasticPoolName = '<Elastic_Pool_Name>'
}
Set-AzSqlElasticPool @parameters -ZoneRedundant
set-azsqlDatabase -ResourceGroupName "<Resource-Group-Name>" -DatabaseName "<Server-Name>" -ServerName "<Server-Name>" -ZoneRedundant:$false
Set-AzSqlElasticpool -ResourceGroupName "<Resource-Group-Name>" -ServerName "<Server-Name>" -ElasticPoolName "<Elastic-Pool-Name>" -ZoneRedundant:$false