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
Summary:
The documentation provides detailed PowerShell-based instructions for modifying destination settings when moving Azure VMs, but does not include equivalent examples for Linux users (e.g., Azure CLI, Bash). The only automation example uses PowerShell cmdlets, which are most familiar and accessible to Windows users. There is no mention of cross-platform tools or Linux-first workflows.
Recommendations:
- Add equivalent Azure CLI examples for all PowerShell commands shown, demonstrating how to perform the same actions using cross-platform tools.
- Explicitly mention that both PowerShell and Azure CLI can be used for these operations, and provide guidance for Linux/macOS users.
- Where possible, use neutral terminology (e.g., 'command line' instead of 'PowerShell') and link to both PowerShell and CLI documentation.
- Consider including Bash script snippets or references for common Linux automation patterns.
- Ensure screenshots and output examples are not specific to Windows-only environments.
Create pull request
Flagged Code Snippets
$moveResourceObj = Get-AzResourceMoverMoveResource -MoveCollectionName "PS-centralus-westcentralus-demoRMS1" -ResourceGroupName "RG-MoveCollection-demoRMS" -Name "PSDemoVM"
$TargetResourceSettingObj = $moveResourceObj.ResourceSetting
$TargetResourceSettingObj.TargetResourceName="PSDemoVM-target"
Update-AzResourceMoverMoveResource -ResourceGroupName "RG-MoveCollection-demoRMS" -MoveCollectionName "PS-centralus-westcentralus-demoRMS" -SourceId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/PSDemoRM/providers/Microsoft.Compute/virtualMachines/PSDemoVM" -Name "PSDemoVM" -ResourceSetting $TargetResourceSettingObj