Detected Bias Types
â ī¸
powershell_heavy
â ī¸
windows_first
Summary
The documentation provides both Azure CLI and PowerShell examples for creating VMs from generalized images in an Azure Compute Gallery. However, PowerShell examples are heavily Windows-centric, with explicit use of Windows-specific parameters (e.g., Set-AzVMOperatingSystem -Windows) and RDP-related networking rules. In several PowerShell code blocks, only Windows VM creation is shown, while Linux VM creation is not addressed. Additionally, PowerShell examples appear before REST and Portal instructions, and often before CLI in some sections, which may reinforce a Windows-first perspective. CLI and REST examples do include Linux scenarios, but PowerShell is presented as the default for Windows, with no Linux PowerShell parity.
Recommendations
- Add PowerShell examples for creating Linux VMs, using Set-AzVMOperatingSystem -Linux and appropriate credential handling.
- In PowerShell networking examples, show how to open SSH (port 22) for Linux VMs, not just RDP (port 3389) for Windows.
- Clearly label CLI and PowerShell examples as Linux or Windows, and provide both where possible.
- Ensure that Linux scenarios are equally represented in PowerShell sections, not only in CLI/REST.
- Consider alternating the order of CLI and PowerShell tabs, or defaulting to CLI (cross-platform) first.