Replication Statistics Reset

Resets the replication statistics of a virtual machine. Statistics accumulated up to that time are deleted, and replication monitoring begins collecting a new set of statistics. If replication health was reported as Warning, then this operation also changes the health to Normal.

Input Parameters

Name Type Required Description
Reset Stats for All VMs Boolean No Specifies that all virtual machine(s) on Hyper-V host replication statistics are to be reset.
Virtual Machine Name String No Specifies the virtual machine replication whose replication statistics are to be reset.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Reset Stats for ALL VMs Boolean No Optionally, you can reset replication statistics for all VMs on Hyper-V host.
Virtual Machine Name String No Guest001