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:
⚠️
windows_first
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
Summary:
The documentation demonstrates a moderate Windows bias: PowerShell is presented as a primary automation tool alongside Azure CLI, and in some places, PowerShell examples are given equal or greater prominence than CLI/Bash. The CLI examples reference Bash but do not provide explicit Linux shell guidance or mention cross-platform differences. There is no mention of Linux-specific tools or environments, and the PowerShell examples assume familiarity with Windows-centric scripting. The documentation does not clarify that Azure CLI is cross-platform or provide explicit Linux shell examples, and there is no mention of Linux-native scripting or automation approaches.
Recommendations:
- Explicitly state that Azure CLI is cross-platform and works on Linux, macOS, and Windows.
- Provide example commands in both Bash (Linux/macOS) and PowerShell (Windows), especially where scripting or variable assignment is shown.
- Avoid presenting PowerShell examples before or with equal prominence to Bash/CLI unless justified by usage statistics; prioritize Bash for CLI examples.
- Where PowerShell is used, clarify that it is available cross-platform, but also provide native Bash alternatives for Linux users.
- Include notes or sections on running these commands in Linux environments (e.g., Ubuntu, CentOS), and address any OS-specific considerations.
- Mention Linux-native automation tools or scripting (e.g., shell scripts) where relevant.
- Ensure screenshots and UI references do not assume a Windows environment unless unavoidable.
Create pull request
Flagged Code Snippets
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
To get the registration status:
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
To get the registration status:
---
### Use Azure PowerShell
#### Validate
To test your move scenario without actually moving resources in real time, use the [`Invoke-AzResourceAction`](/powershell/module/az.resources/invoke-azresourceaction) command in Azure PowerShell. Use this command only when you need to model the results without following through.
An output doesn't display if the validation succeeds. However, if the validation fails, an error message explains why you can't move the resources.
#### Move
To move existing resources to another resource group or subscription, use the [Move-AzResource](/powershell/module/az.resources/move-azresource) command. The following example shows how to move several resources to a new resource group.
# [Azure PowerShell](#tab/azure-powershell)
---
### Use Azure PowerShell
#### Validate
To test your move scenario without actually moving resources in real time, use the [`Invoke-AzResourceAction`](/powershell/module/az.resources/invoke-azresourceaction) command in Azure PowerShell. Use this command only when you need to model the results without following through.
An output doesn't display if the validation succeeds. However, if the validation fails, an error message explains why you can't move the resources.
#### Move
To move existing resources to another resource group or subscription, use the [Move-AzResource](/powershell/module/az.resources/move-azresource) command. The following example shows how to move several resources to a new resource group.