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
Summary
The documentation provides step-by-step instructions for relocating Azure Firewall using the Azure Portal and PowerShell, but does not include examples or guidance for Linux users or cross-platform CLI tools. PowerShell is featured as the only command-line automation method, and references to creating firewall policies or migrating configurations are linked to PowerShell-specific guides. There are no Bash, Azure CLI, or Linux shell examples, nor is there mention of alternative tooling or scripting approaches for non-Windows environments.
Recommendations
  • Add Azure CLI (az) examples alongside PowerShell for all automation steps, including template export, modification, and deployment.
  • Include Bash shell script samples for Linux users where applicable.
  • Reference cross-platform documentation and tools, such as Azure CLI, before or alongside PowerShell.
  • Ensure links to migration and policy creation guides include Azure CLI and REST API options, not just PowerShell.
  • Explicitly state that all steps can be performed from Linux, macOS, or Windows, and provide platform-agnostic instructions where possible.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-25 00:00 #165 completed Biased Biased
2026-01-24 00:00 #161 completed Biased Biased
2026-01-23 00:00 #157 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

    Connect-AzAccount
    
    $context = Get-AzSubscription -SubscriptionId <subscription-id>
    Set-AzContext $context
    
    $resource = Get-AzResource `
      -ResourceGroupName <resource-group-name> `
      -ResourceName <resource-name> `
      -ResourceType <resource-type>
    
    Export-AzResourceGroup `
      -ResourceGroupName <resource-group-name> `
      -Resource $resource.ResourceId
    
    Get-AzSubscription
    
    $resourceGroupName = Read-Host -Prompt "Enter the Resource Group name"
    $location = Read-Host -Prompt "Enter the location (i.e. eastus)"
    
    New-AzResourceGroup -Name $resourceGroupName -Location "$location"
    New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri "<name of your local template file>"