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

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation is heavily biased towards Windows and PowerShell. All examples and instructions are provided exclusively for Windows PowerShell, with explicit notes that PowerShell Core (cross-platform) is not supported. There are no examples or guidance for Linux or macOS users, and all tooling and workflow references assume a Windows environment.
Recommendations:
  • Provide equivalent instructions and examples for Linux/macOS environments, including how to use Azure Automation with PowerShell Core where possible.
  • Clarify which features are Windows-only and suggest alternatives or workarounds for non-Windows users.
  • Include notes or links to documentation for managing Office 365/Azure Automation from Linux/macOS, such as using Azure CLI, REST APIs, or cross-platform PowerShell modules.
  • If certain modules (like Microsoft Graph PowerShell) are not supported on PowerShell Core, explicitly state this and provide alternative approaches for Linux users.
  • Reorder sections or provide parallel instructions so that Windows and Linux users are equally supported and neither is prioritized over the other.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

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