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
⚠️ windows_tools
Summary:
The documentation consistently presents Azure PowerShell (a Windows-centric tool) examples before Azure CLI, and in some cases, the narrative and screenshots are PowerShell-focused. There is no mention of Linux-native tools or shell scripting, and the CLI examples, while cross-platform, are sometimes described as 'PowerShell commands' or use Windows-style variable assignment. The documentation assumes familiarity with PowerShell, which may disadvantage Linux users.
Recommendations:
  • Alternate the order of PowerShell and Azure CLI examples, or present Azure CLI first, as it is cross-platform.
  • Explicitly state that Azure CLI commands work on Linux, macOS, and Windows, and provide bash/zsh syntax for variable assignment in CLI examples.
  • Ensure screenshots and output samples are not PowerShell-specific, or provide CLI/Linux equivalents.
  • Avoid referring to CLI examples as 'PowerShell commands' and clarify the shell context for each example.
  • Consider including links or references to Linux-native tools or scripting environments where relevant.
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-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

## Place the previously created webapp into a variable. ## $webapp = Get-AzWebApp -ResourceGroupName myResourceGroup -Name myWebApp1979 $resource = Get-AzPrivateLinkResource -PrivateLinkResourceId $webapp.ID
## Place the previously created webapp into a variable. ## $webapp = Get-AzWebApp -ResourceGroupName myResourceGroup -Name myWebApp1979 ## Create the private endpoint connection. ## $pec = @{ Name = 'myConnection' PrivateLinkServiceId = $webapp.ID GroupID = 'sites' } $privateEndpointConnection = New-AzPrivateLinkServiceConnection @pec ## Place the virtual network you created previously into a variable. ## $vnet = Get-AzVirtualNetwork -ResourceGroupName 'myResourceGroup' -Name 'myVNet' ## Create the private endpoint. ## $pe = @{ ResourceGroupName = 'myResourceGroup' Name = 'myPrivateEndpoint' Location = 'eastus' Subnet = $vnet.Subnets[0] PrivateLinkServiceConnection = $privateEndpointConnection CustomNetworkInterfaceName = 'myPrivateEndpointNIC' } New-AzPrivateEndpoint @pe
$get = @{ Name = 'myPrivateLinkService' ResourceGroupName = 'myResourceGroup' } Get-AzPrivateEndpointConnection @get
$approve = @{ Name = 'myPrivateEndpointConnection' ServiceName = 'myPrivateLinkService' ResourceGroupName = 'myResourceGroup' } Approve-AzPrivateEndpointConnection @approve
$deny = @{ Name = 'myPrivateEndpointConnection' ServiceName = 'myPrivateLinkService' ResourceGroupName = 'myResourceGroup' } Deny-AzPrivateEndpointConnection @deny
$remove = @{ Name = 'myPrivateEndpointConnection' ServiceName = 'myPrivateLinkService' ResourceGroupName = 'myResourceGroup' } Remove-AzPrivateEndpointConnection @remove