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_first
⚠️
missing_linux_example
⚠️
windows_tools
Summary:
The documentation page demonstrates a strong Windows and PowerShell bias. All code examples are provided exclusively in PowerShell, with explicit instructions for using PowerShell in the Azure Cloud Shell. The ARM template referenced is described as deploying a 'simple Windows VM', with no mention of Linux VM options or examples. Linux command-line tools or Bash/CLI examples are not provided, and the workflow assumes familiarity with Windows-centric tools and patterns.
Recommendations:
- Add equivalent Azure CLI (Bash) examples for deploying the ARM template, including step-by-step instructions.
- Reference and, if possible, provide an ARM template example for deploying and backing up a Linux VM, or clarify how to adapt the template for Linux.
- Ensure that mentions of deployment methods (PowerShell, CLI, Portal, REST) give equal prominence to Azure CLI/Bash and not just PowerShell.
- Include cleanup instructions using Azure CLI, not just PowerShell cmdlets.
- Where possible, use neutral language (e.g., 'virtual machine' instead of 'Windows VM') unless the example is truly Windows-specific, and clarify applicability to Linux.
- Provide links to Linux-specific backup/restore documentation if available.
Create pull request
Flagged Code Snippets
Azure PowerShell is used to deploy the ARM template in this quickstart. The [Azure portal](../azure-resource-manager/templates/deploy-portal.md), [Azure CLI](../azure-resource-manager/templates/deploy-cli.md), and [REST API](../azure-resource-manager/templates/deploy-rest.md) can also be used to deploy templates.
## Validate the deployment
### Start a backup job
The template creates a VM and enables backup on the VM. After you deploy the template, you need to start a backup job. For more information, see [Start a backup job](./quick-backup-vm-powershell.md#start-a-backup-job).
### Monitor the backup job
To monitor the backup job, see [Monitor the backup job](./quick-backup-vm-powershell.md#monitor-the-backup-job).
## Clean up resources
If you no longer need to back up the VM, you can clean it up.
- If you want to try out restoring the VM, skip the cleanup.
- If you used an existing VM, you can skip the final [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) cmdlet to leave the resource group and VM in place.
Disable protection, remove the restore points and vault. Then delete the resource group and associated VM resources, as follows: