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
⚠️
missing_linux_example
⚠️
windows_tools
⚠️
windows_first
Summary:
The documentation page provides detailed instructions and examples for removing resources from a move collection in Azure Resource Mover, but all command-line examples use PowerShell cmdlets, which are primarily associated with Windows environments. There are no examples using Azure CLI, Bash, or other cross-platform tools, and no mention of Linux or macOS workflows. The exclusive use of PowerShell and lack of alternative examples creates a Windows-centric bias.
Recommendations:
- Add equivalent Azure CLI examples for all PowerShell commands, as Azure CLI is cross-platform and widely used on Linux and macOS.
- Explicitly mention that the operations can be performed on any OS using Azure CLI or REST API, not just via PowerShell.
- Include Bash shell examples where relevant, especially for bulk or scripting operations.
- Reorganize sections so that cross-platform tools (Azure CLI) are presented before or alongside PowerShell, rather than only after or not at all.
- Add a note clarifying that PowerShell is available on Linux and macOS, but provide guidance for users who prefer native Linux tools.
Create pull request
Flagged Code Snippets
**Output after running cmdlet**
:::image type="content" source="./media/remove-move-resources/remove-multiple-get-dependencies.png" alt-text="Screenshot of output text after retrieving dependent resources that need to be removed." :::
3. Remove all resources, along with the virtual network:
**Output after running cmdlet**
:::image type="content" source="./media/remove-move-resources/remove-multiple-validate-dependencies.png" alt-text="Screenshot of output text after removing multiple resources from a move collection." :::
2. Retrieve the dependent resources that need to be removed (along with our example virtual network psdemorm-vnet):
**Output after running cmdlet**
:::image type="content" source="./media/remove-move-resources/remove-multiple-all.png" alt-text="Screenshot of output text after removing all resources from a move collection." :::
## Remove a collection using PowerShell
Remove an entire move collection from the subscription, as follows:
1. Follow [these instructions](#remove-a-resource-using-powershell) to remove resources in the collection using PowerShell.
2. Then remove a collection as follows: