Microsoft Download Center Archive

Sample Azure Migrate to Azure Local PowerShell Script

  • Published:
  • Version: 1.0.0
  • Product: Windows
  • Language: English

PowerShell script to automate VM replication and migration from VMware or Hyper-V to Azure Local using Azure Migrate.

This sample PowerShell script demonstrates how to use the Azure Migrate PowerShell module to replicate and migrate VMs from VMware or Hyper-V to Azure Local.It covers key steps such as discovering VMs, initializing replication infrastructure, creating replication jobs (with or without disk/NIC mapping), and completing migration.

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

Files
sample-AzLocal-migration-script.ps1
  • Size: 5 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows Server 2012 R2, Windows Server 2016, Windows Server 2008 R2 Standard, Windows Server 2019, Windows Server 2022, Windows Server 2025, Windows Server 2012 Standard

PowerShell 5.1 or higherAzure PowerShell Az module

Installation Instructions

Listed in Learn Documentation

This page was generated from a snapshot of the Microsoft Download Center made on .