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
⚠️
windows_first
⚠️
missing_linux_example
Summary:
The documentation provides extensive PowerShell examples and references to Windows-specific tools and file paths (e.g., D:\testFiles), with PowerShell presented as a primary automation method alongside Azure CLI and Portal. There are no explicit Linux/Bash shell examples, and some instructions (such as file upload examples) assume a Windows environment. The PowerShell section mentions running commands in 'Bash environment in the Azure Cloud Shell,' but the commands themselves are PowerShell-centric. There is no mention of Linux-native tools or workflows, and file path examples are Windows-specific.
Recommendations:
- Add explicit Bash/Linux shell examples for all CLI workflows, especially for file uploads and scripting.
- Replace or supplement Windows file path examples (e.g., D:\testFiles) with Linux equivalents (e.g., /home/user/testFiles).
- Clarify in the PowerShell section that PowerShell Core is cross-platform, or provide equivalent Bash commands where possible.
- Ensure that references to tools and environments (such as Cloud Shell) highlight both Bash and PowerShell options equally.
- Include notes or sections on how to perform prerequisite steps (such as file uploads) using Linux-native tools (e.g., azcopy, Azure CLI, or sftp).
- Avoid assuming a Windows environment in generic instructions; use environment-agnostic language and examples.
Create pull request
Flagged Code Snippets
Set-AzContext [SubscriptionID/SubscriptionName]
New-AzResourceGroup -Name <String> -Location <String>
New-AzDataShareAccount -ResourceGroupName <String> -Name <String> -Location <String>
$storageAccount = New-AzStorageAccount -ResourceGroupName <String> -AccountName <String> -Location <String> -SkuName <String>
$ctx = $storageAccount.Context
Set-AzStorageBlobContent -File "D:\testFiles\textfile.csv" -Container $containerName -Blob "textfile.csv" -Context $ctx
New-AzDataShare -ResourceGroupName <String> -AccountName <String> -Name <String> -Description <String> -TermsOfUse <String>
New-AzDataShareInvitation -ResourceGroupName <String> -AccountName <String> -ShareName <String> -Name <String> -TargetEmail <String>
New-AzDataShareSynchronizationSetting -ResourceGroupName <String> -AccountName <String> -ShareName <String> -Name <String> -RecurrenceInterval <String> -SynchronizationTime <DateTime>
$containerName = <String>
New-AzStorageContainer -Name $containerName -Context $ctx -Permission blob