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 is heavily focused on Windows and PowerShell, with all examples and instructions using Windows PowerShell. There is an explicit note that the Microsoft Graph PowerShell module cmdlets must be run from Windows PowerShell, and no Linux or cross-platform alternatives are provided. The use of Windows-specific tools and patterns (such as Send-MailMessage and credential assets for PowerShell) further reinforces the Windows bias. There are no Bash, Azure CLI, or PowerShell Core examples, nor any mention of how to perform these tasks on Linux or macOS.
Recommendations
  • Provide equivalent examples using PowerShell Core (pwsh), which is cross-platform, and clarify which cmdlets are supported.
  • Include Azure CLI examples for authentication and management where possible, as Azure CLI is cross-platform.
  • Explicitly state platform limitations and suggest workarounds or alternatives for Linux/macOS users.
  • Highlight any Office 365 or Azure Automation features that are not available on non-Windows platforms.
  • Where Windows PowerShell is required, suggest using cloud-based automation (e.g., Azure Automation runbooks) that abstracts away the local OS, and clarify that local scripting on Linux/macOS is not supported for these features.
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

Install-Module Microsoft.Graph -Scope CurrentUser
$emailFromAddress = "admin@TenantOne.com"
$emailToAddress = "servicedesk@TenantOne.com"
$emailSMTPServer = "outlook.office365.com"
$emailSubject = "Office 365 License Report"
$credObject = Get-AutomationPSCredential -Name "Office-Credentials"

Connect-MgGraph -Scopes "Directory.Read.All"

$O365Licenses = Get-MgSubscribedSku | Out-String
Send-MailMessage -Credential $credObject -From $emailFromAddress -To $emailToAddress -Subject $emailSubject -Body $O365Licenses -SmtpServer $emailSMTPServer -UseSSL