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
⚠️
missing_linux_example
Summary:
The documentation demonstrates a Windows bias by providing detailed PowerShell scripts and explanations, referencing Windows-specific tools (PowerShell cmdlets), and using Windows-style file paths in examples. While Azure CLI examples are included (which are cross-platform), the PowerShell section is more extensive and detailed. There are no explicit Linux shell (bash) or macOS-specific examples, and the REST example uses a Windows path for output. The documentation does not mention or show Linux-native command-line patterns (e.g., jq, grep, bash scripting), and the PowerShell section precedes the portal and REST sections, reinforcing a Windows-first approach.
Recommendations:
- Add Linux/macOS shell (bash) examples for filtering and processing az vm list-skus output, such as using jq or grep to filter SKUs.
- In REST examples, use cross-platform output paths (e.g., ./sku-list.json instead of .\sku-list.json) or show both Windows and Linux path variants.
- Balance the depth of PowerShell and CLI sections; provide equally detailed CLI (bash) scripts for advanced filtering, not just single commands.
- Explicitly mention that Azure CLI commands work on Windows, Linux, and macOS, and provide sample shell scripts for common Linux workflows.
- Consider reordering sections or providing a note that PowerShell is primarily for Windows users, while CLI/bash examples are for all platforms.
Create pull request
Flagged Code Snippets
# [PowerShell](#tab/azure-powershell)
To determine which SKUs are available in a location or zone, use the [Get-AzComputeResourceSku](/powershell/module/az.compute/get-azcomputeresourcesku) command.
The `Get-AzComputeResourceSku` cmdlet gets all the compute resources. The objects are sent down the pipeline and [Where-Object](/powershell/module/microsoft.powershell.core/where-object) filters the output to include only the specified location. SKUs that aren't available for the current subscription are listed as `NotAvailableForSubscription`.
The following PowerShell script filters by location and SKU: