Skip to main content

Hyper-V Replication Audit

Summary

This script continuously checks Hyper-V replication health, identifies Warning and Critical issues, and logs monitoring activity for troubleshooting and historical tracking. Its event-based monitoring allows alerts to be generated only when Hyper-V replication health changes to an unhealthy state.

This monitoring process runs automatically every 15 minutes via Windows Task Scheduler.

Sample Run

Image

Implementation

  1. Export the agent procedure from ProVal's VSA RMM instance.
    Name: Hyper-V Replication Audit
    The export will download the necessary XML file.

  2. Import this XML file into the partner's VSA RMM instance.

  3. Export the HVReplCheck.ps1 from the ProVal's Internal VSA. This is also placed under the below path:
    Manage Files > Shared Files > PVAL > HVReplCheck.ps1

Image

  1. Map the HVReplCheck.ps1 into the 12th step of the script in the client's environment.

Output

  • Script Logs
  • C:\ProgramData\_Automation\Script\HVReplication\HVReplCheck.log

Changelog

2026-07-13

  • Initial version of the document.