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
missing_linux_example
windows_tools
windows_first
Summary
The documentation page demonstrates a Windows bias by providing PowerShell-only command-line examples for certificate management, referencing Azure PowerShell and ARM templates, and omitting equivalent Azure CLI (cross-platform) or Bash examples. The troubleshooting steps and resolutions focus on Azure Portal and PowerShell, which are more familiar to Windows users, with no explicit guidance for Linux or non-Windows environments.
Recommendations
  • Add Azure CLI (az) command examples alongside PowerShell for certificate upload and management, as Azure CLI is cross-platform and widely used on Linux and macOS.
  • Where PowerShell scripts are shown, provide equivalent Bash/CLI scripts or commands.
  • When mentioning tools or automation (e.g., ARM templates, PowerShell), also reference cross-platform alternatives (e.g., Azure CLI, Terraform).
  • Explicitly state that all operations can be performed from Linux/macOS using Azure CLI, and link to relevant documentation.
  • Balance the order of presentation so that cross-platform tools (CLI) are mentioned before or alongside Windows-specific tools (PowerShell).
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-12 00:00 #243 cancelled Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

$appgw = Get-AzApplicationGateway -ResourceGroupName "<ResourceGroup>" -Name "<AppGatewayName>"

$password = ConvertTo-SecureString -String "<password>" -Force -AsPlainText

Set-AzApplicationGatewaySSLCertificate -Name "<oldcertname>" -ApplicationGateway $appgw -CertificateFile "<newcertPath>" -Password $password

Set-AzApplicationGateway -ApplicationGateway $appgw 
$appgw = Get-AzApplicationGateway -ResourceGroupName "<ResourceGroup>" -Name "<AppGatewayName>"

$secret = Get-AzKeyVaultSecret -VaultName "<KeyVaultName>" -Name "<CertificateName>" 
$secretId = $secret.Id.Replace($secret.Version, "") 
$cert = Set-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW -Name "<CertificateName>" -KeyVaultSecretId $secretId 

Set-AzApplicationGateway -ApplicationGateway $appgw