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:
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation generally presents queries and examples in a platform-neutral way, using Azure CLI, Azure PowerShell, and Portal tabs for each scenario. However, there is a subtle Windows bias: in sections about OS update installation, the general (non-Linux/Windows-specific) queries and explanations implicitly focus on Windows, with Linux-specific queries only appearing later and in a separate section. There is no equivalent 'general' query for Linux, and the Linux example is not presented alongside the Windows one, but rather after several Windows-centric queries. This ordering and separation can make Linux users feel like an afterthought.
Recommendations:
  • When presenting OS update installation queries, provide both Windows and Linux examples side by side, or clearly indicate which queries apply to which OS.
  • In sections where a 'general' query is given (e.g., 'Count of OS update installation done'), clarify whether it applies to both Windows and Linux, or provide equivalent queries for each.
  • Avoid grouping all Windows-related queries before Linux ones; instead, interleave or pair them to show parity.
  • Explicitly state OS applicability in headings and descriptions, so Linux users can quickly find relevant content.
  • Consider adding a summary table or section at the top that links to both Windows and Linux scenarios for common tasks.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Portal](#tab/azure-portal) - Azure portal: <a href="https://portal.azure.com/#blade/HubsExtension/ArgQueryBlade/query/HealthResources%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resourcehealth%2favailabilitystatuses%27%0a%7c%20where%20tostring(properties.availabilityState)%20!%3d%20%27Available%27%0a%7c%20summarize%20by%20ResourceId%20%3d%20tolower(tostring(properties.targetResourceId))%2c%20AvailabilityState%20%3d%20tostring(properties.availabilityState)" target="_blank">portal.azure.com</a> - Azure Government portal: <a href="https://portal.azure.us/#blade/HubsExtension/ArgQueryBlade/query/HealthResources%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resourcehealth%2favailabilitystatuses%27%0a%7c%20where%20tostring(properties.availabilityState)%20!%3d%20%27Available%27%0a%7c%20summarize%20by%20ResourceId%20%3d%20tolower(tostring(properties.targetResourceId))%2c%20AvailabilityState%20%3d%20tostring(properties.availabilityState)" target="_blank">portal.azure.us</a> - Azure operated by 21Vianet portal: <a href="https://portal.azure.cn/#blade/HubsExtension/ArgQueryBlade/query/HealthResources%0a%7c%20where%20type%20%3d%7e%20%27microsoft.resourcehealth%2favailabilitystatuses%27%0a%7c%20where%20tostring(properties.availabilityState)%20!%3d%20%27Available%27%0a%7c%20summarize%20by%20ResourceId%20%3d%20tolower(tostring(properties.targetResourceId))%2c%20AvailabilityState%20%3d%20tostring(properties.availabilityState)" target="_blank">portal.azure.cn</a> --- ### List of Windows Server OS update installation done Returns a list of status of Windows Server - OS update installation runs done for your machines in last 7 days.
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)