PowerShell Logo Small

Reset-VMResourceMetering



This is the built-in help made by Microsoft for the command 'Reset-VMResourceMetering', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 resource utilization data collected by Hyper-V resource metering.

SYNTAX


Reset-VMResourceMetering [-ResourcePoolName] <String> [[-ResourcePoolType] <VMResourcePoolType>] [-ComputerName <String[]>]
[<CommonParameters>]
Reset-VMResourceMetering [-VMName] <String[]> [-ComputerName <String[]>] [<CommonParameters>]
Reset-VMResourceMetering [-VM] <VirtualMachine[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Reset-VMResourceMetering cmdlet resets the resource utilization data collected by Hyper-V resource metering.


When this cmdlet is called, the virtual machine or resource pool resource utilization data collected up to current point of time is deleted.
Hyper-V continues to collect resource utilization data after reset.



<

RELATED LINKS

Measure-VM
Measure-VMResourcePool

REMARKS

<

Examples


Example 1

PS C:\>Reset-VMResourceMetering –VMName TestVM



Resets resource utilization data collection on a virtual machine named TestVM.




Example 2

PS C:\>Reset-VMResourceMetering –ResourcePoolName TestResourcePool –ResourcePoolType Memory



Resets resource utilization data collection for a single resource pool named TestResourcePool of type Memory.




Example 3

PS C:\>Get-VMResourcePool –ResourcePoolType @(“Processor”,”VHD”,”Ethernet”,”Memory”) | Reset-VMResourceMetering



Resets resource utilization data collection for all supported resource pool types on the virtual machine host.