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_tools
missing_linux_example
windows_first
Summary
The documentation exclusively provides instructions and examples using PowerShell and the Windows-specific Send-MailMessage cmdlet. There are no examples or guidance for sending email via SMTP from Linux or cross-platform environments, nor are alternative tools (such as sendmail, mailx, or Python scripts) mentioned. This creates a strong Windows and PowerShell bias, making it less accessible for Linux or macOS users.
Recommendations
  • Add equivalent Linux examples using common tools such as sendmail, mailx, or mutt.
  • Provide a cross-platform example using a scripting language like Python (e.g., using smtplib) to demonstrate SMTP email sending.
  • Explicitly mention that the instructions are for Windows/PowerShell, and provide parallel instructions for Linux/macOS users.
  • Reference Linux documentation or external resources for SMTP email sending.
  • Consider restructuring the documentation to present both Windows and Linux approaches side by side, or clearly label sections by platform.
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

Flagged Code Snippets

$Password = ConvertTo-SecureString -AsPlainText -Force -String '<Entra Application Client Secret>'
$Cred = New-Object -TypeName PSCredential -ArgumentList '<SMTP Username>', $Password
Send-MailMessage -From 'User01 <user01@fabrikam.com>' -To 'User02 <user02@fabrikam.com>' -Subject 'Test mail' -Body 'test' -SmtpServer 'smtp.azurecomm.net' -Port 587 -Credential $Cred -UseSsl