Detected Bias Types
⚠️
powershell_heavy
⚠️
windows_first
Summary
The documentation provides both Azure CLI and PowerShell examples for creating VMs from generalized images in a gallery. However, PowerShell examples are consistently shown and detailed, and in several places, the PowerShell code is Windows-centric (e.g., Set-AzVMOperatingSystem -Windows is used by default, and credential prompts assume password authentication). In the PowerShell sections, Windows VM creation is the default, with no explicit Linux VM example or mention of Linux-specific parameters. Additionally, in the full parameter set, network security rules are configured for RDP (port 3389), which is Windows-specific, and Set-AzVMOperatingSystem -Windows is used without showing the Linux equivalent. CLI examples do show Linux VM creation (with SSH keys), but PowerShell examples are Windows-first and lack Linux parity.
Recommendations
- Add PowerShell examples for creating Linux VMs, including use of Set-AzVMOperatingSystem -Linux and SSH key authentication.
- In PowerShell sections, clarify how to create Linux VMs and how credential handling differs (e.g., using SSH keys vs. passwords).
- When showing network security group rules, include both SSH (port 22) and RDP (port 3389) examples, or clarify which is for Linux and which is for Windows.
- Consider alternating or balancing the order of Windows and Linux examples in PowerShell sections, or explicitly state which OS each example targets.
- Add notes or links to Linux-specific PowerShell guidance where appropriate.