Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_first
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by providing only PowerShell-based examples and instructions for managing and migrating classic Application Gateway resources. There are no Bash, Azure CLI (Linux shell), or cross-platform examples for key migration or cleanup steps. PowerShell is mentioned and linked before Azure CLI, and the only detailed command-line walkthrough is for PowerShell. References to installing and using the Azure PowerShell Service Management module further reinforce the Windows-centric approach, with no mention of Linux or macOS alternatives.
Recommendations
  • Provide equivalent Azure CLI (bash) examples for all PowerShell commands, especially for cleanup and migration steps.
  • Include explicit instructions or links for Linux/macOS users, such as how to install and use Azure CLI for these tasks.
  • Reorder example listings to present cross-platform tools (Azure CLI, ARM templates) before or alongside PowerShell.
  • Where PowerShell modules are referenced, note their platform compatibility and provide alternatives for non-Windows environments.
  • Add a section or note clarifying that all migration and management tasks can be performed from Linux/macOS using Azure CLI, and provide sample commands.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean
2025-07-09 23:22 #6 cancelled Clean Clean

Flagged Code Snippets

# Sign in to account and set proper subscription
Add-AzureAccount
Get-AzureSubscription
Select-AzureSubscription -SubscriptionId <SubscriptionId> -Default
 
# Get the list of application gateways in the subscription
Get-AzureApplicationGateway
 
# Remove the desired application gateway
Remove-AzureApplicationGateway -Name <NameofGateway>
# Sign in to account and set proper subscription
Add-AzureAccount
Get-AzureSubscription
Select-AzureSubscription -SubscriptionId <SubscriptionId> -Default
 
# Get the list of application gateways in the subscription
Get-AzureApplicationGateway
 
# Remove the desired application gateway
Remove-AzureApplicationGateway -Name <NameofGateway>