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 and related tooling. There are explicit notes that certain cmdlets must be run from Windows PowerShell (not PowerShell Core, which is cross-platform), and no Linux or cross-platform alternatives are provided. The workflow assumes a Windows environment throughout.
Recommendations
  • Provide equivalent examples using PowerShell Core (pwsh), and clarify which modules/cmdlets are supported cross-platform.
  • Explicitly state any limitations or lack of support for Linux/macOS, and suggest workarounds or alternatives where possible.
  • Include instructions for installing and using Microsoft Graph PowerShell on Linux/macOS, or note if it is not supported.
  • If Azure Automation supports Python or other cross-platform scripting languages, mention and provide examples.
  • Avoid language such as 'Windows PowerShell command prompt' unless the functionality is truly unavailable elsewhere; otherwise, use 'PowerShell' generically.
  • Add a section or callout for Linux/macOS users, even if only to clarify current limitations and future roadmap.
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

Install-Module Microsoft.Graph -Scope CurrentUser
Connect-MgGraph -Scopes "Directory.Read.All"
$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