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_tools
⚠️
missing_linux_example
⚠️
windows_first
Summary:
The documentation exclusively uses PowerShell commands and references connecting to the PowerShell interface, with no mention of Linux shells, CLI alternatives, or cross-platform tools. All examples, command syntax, and output are Windows/PowerShell-specific, and there are no instructions or guidance for users on Linux or macOS systems.
Recommendations:
- Provide equivalent command-line instructions using Azure CLI (az) where possible, which is cross-platform.
- Include Linux shell (bash) examples for connecting to the device and managing VM sizes, if supported.
- Clarify whether the operations can only be performed via PowerShell or if there are REST API/CLI alternatives, and document those for non-Windows users.
- Add a section or note explicitly addressing Linux/macOS users, including any prerequisites or limitations.
- If PowerShell Core (pwsh) is required and supported on Linux/macOS, mention this and provide installation guidance.
Create pull request
Flagged Code Snippets
Get-AzVmSize -Location dbelocal
[DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsVMCustomSizes
[{'Name':'Custom_NonGPU','Cores':8,'MemoryMb':14336},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount': 1}]
[DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsVMCustomSizes
[{'Name':'Custom_NonGPU','Cores':8,'MemoryMb':14336},{'Name':'Custom_GPU_A2','Cores':8,'MemoryMb':28672,'GpuCount': 1}]
Set-HcsVMCustomSizes -CustomVMSizesJson <string> [-JsonFormat]
Get-AzVmSize -Location dbelocal
[DBE-BNVGF33.microsoftdatabox.com]: PS>Set-HcsVMCustomSizes -CustomVMSizesJson "[{'Name':'Custom_NonGPU','Cores':4,'MemoryMb':4096},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount':2}]"
[{'Name':'Custom_NonGPU','Cores':4,'MemoryMb':4096},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount':2}]