OMS Solution - Hyper-V Replica

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy to Azure Deploy To Azure US Gov Visualize


A community OMS Solution that helps you manage Hyper-V replica. It gives you visibility of the current replication state. It only shows data from the primary replica host.

Overview Screen

Hyper-V Replica OMS Solution

Hyper-V Replica OMS Solution

Tile Screen

Hyper-V Replica OMS Solution


  • Hyper-V Hosts With Hyper-V Replica
  • OMS Workspace
  • Automation Account
  • Hybrid Workers with access to the Hyper-V Hosts
  • OMSDataInjection PowerShell module installed on the Hybrid Workers


  1. Install the OMSDataInjection PowerShell module on the Hybrid Workers.

     Install-Module -Name OMSDataInjection
  2. Install the Hyper-V replica OMS solution.

    This can be installed by any supported method.

  3. Create an automation schedule specifying how often you want the information in the Hyper-V replica OMS Solution updating.

Hyper-V Replica OMS Solution

  1. Link the schedule to the 'Publish-omsHyperVReplica.ps1' Run Book, also selecting the location the Run Book should run to your on premises Hybrid Runbook Worker group. You will be asked to fill in the computerName parameter, this is a list of the servers you want to monitor, each server is separated by a semi-colon - ';'.

Hyper-V Replica OMS Solution


  • Release adding the following support:
    • Hosts Being Monitored.
    • Average replication sizes.

  • Initial release with the following support:
    • VMs at each status.
    • Amount of VMs with broken replicas on each host.
    • Run Number for only displaying the latest results.


  • No support for latency
  • No auto fixing of common replica errors


  • Ben Taylor -

Tags: int, Script, OMSWorkSpace, Microsoft.OperationalInsights/workspaces, views, Blade, OverviewTile, Microsoft.Automation/automationAccounts, runbooks, microsoft.automation/automationAccounts/variables, [variables('automation').Asset.omsHypervReplicaRunNumber.type], microsoft.automation/automationAccounts/credentials, microsoft.automation/automationAccounts/modules, microsoft.automation/automationAccounts/connections, Microsoft.OperationsManagement/solutions