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
Summary:
The documentation focuses exclusively on Azure PowerShell for command-line instructions, with all examples and scripts using PowerShell cmdlets and syntax. There are no examples or guidance for Linux users (e.g., Bash, Azure CLI), and the only command-line tooling discussed is PowerShell, which is traditionally associated with Windows environments. This creates a bias toward Windows users and may hinder Linux users from following the instructions.
Recommendations:
- Provide equivalent instructions and examples using Azure CLI (az) commands, which are cross-platform and commonly used on Linux.
- Include Bash shell examples for Linux users, especially for scripting and environment setup.
- Clarify that the Azure Cloud Shell supports both PowerShell and Bash, and show how to switch between them.
- Mention any platform-specific considerations (e.g., file paths, prerequisites) for both Windows and Linux.
- Ensure screenshots and sample outputs are not exclusively from Windows environments if the process is cross-platform.
Create pull request
Flagged Code Snippets
PS Azure:\> Set-AzContext -SubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
Name Account SubscriptionName Environment TenantId
---- ------- ---------------- ----------- --------
DataBox_Edge_Test (8eb87630-972c-4c36-a… MSI@50342 DataBox_Edge_Tes AzureCloud 72f988bf-86f1-41af-91ab-2d7…
PS Azure:/
PS Azure:\> Remove-Module Az.DataBoxEdge -force
Remove-Module : No modules were removed. Verify that the specification of modules to remove is correct and those modules exist in the runspace.
At line:1 char:1
+ Remove-Module Az.DataBoxEdge -force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Remove-Module], InvalidOperationException
+ FullyQualifiedErrorId : Modules_NoModulesRemoved,Microsoft.PowerShell.Commands.RemoveModuleCommand
PS Azure:\
cd ~/clouddrive
wget https://aka.ms/dbe-cmdlet-beta -O Az.DataBoxEdge.zip
unzip ./Az.DataBoxEdge.zip
Import-Module ~/clouddrive/Az.DataBoxEdge/Az.DataBoxEdge.psd1 -Force
$devicename = "<Azure Stack Edge resource name>"
$resourceGroup = "<Resource group name>"
$cik = "<Encryption key>"
$password = "<Password>"
$pass = ConvertTo-SecureString $password -AsPlainText -Force
$key = ConvertTo-SecureString $cik -AsPlainText -Force
Set-AzDataBoxEdgeUser -ResourceGroupName $resourceGroup -DeviceName $devicename -Name EdgeARMUser -Password $pass -EncryptionKey $key
PS /home/aseuser/clouddrive> $devicename = "myaseresource"
PS /home/aseuser/clouddrive> $resourceGroup = "myaserg"
PS /home/aseuser/clouddrive> $cik = "54a7450fd7b3c506e10efea4e0c88a9390f37e299fbf43e01fb5dfe483ac036b6d0f85a6246e1926e297f98c0ff84c20a57348c689eff179ce31571fc787ac0a"
PS /home/aseuser/clouddrive> $password = "Password2"
PS /home/aseuser/clouddrive> $pass = ConvertTo-SecureString $password -AsPlainText -Force
PS /home/aseuser/clouddrive> $key = ConvertTo-SecureString $cik -AsPlainText -Force
PS /home/aseuser/clouddrive> Set-AzDataBoxEdgeUser -ResourceGroupName $resourceGroup -DeviceName $devicename -Name EdgeARMUser -Password $pass -EncryptionKey $key
User name Type ResourceGroupName DeviceName
--------- ---- ----------------- ----------
EdgeARMUser ARM myaserg myaseresource
PS /home/aseuser/clouddrive>