PowerShell Logo Small

Reset-VMReplicationStatistics



This is the built-in help made by Microsoft for the command 'Reset-VMReplicationStatistics', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Resets the replication statistics of a virtual machine.

SYNTAX


Reset-VMReplicationStatistics [-VMName] <String[]> [-ComputerName <String[]>] [-PassThru] [-ReplicationRelationshipType <VMReplicationRelationshipType>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Reset-VMReplicationStatistics [-VM] <VirtualMachine[]> [-PassThru] [-ReplicationRelationshipType <VMReplicationRelationshipType>] [-Confirm] [-WhatIf] [<CommonParameters>]
Reset-VMReplicationStatistics [-VMReplication] <VMReplication[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Reset-VMReplicationStatistics cmdlet 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”.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306928

REMARKS

<

Examples


Example 1

PS C:\> Reset-VMReplicationStatistics VM01



Resets replication statistics for virtual machine VM01.




Example 2

PS C:\> Get-VMReplication | Reset-VMReplicationStatistics



Resets the replication statistics of all replication-enabled virtual machines on the local Hyper-V host.