This is the built-in help made by Microsoft for the command 'Disable-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.
Disables collection of resource utilization data for a virtual machine or resource pool.
Disable-VMResourceMetering [-ResourcePoolName] <String> [[-ResourcePoolType] <VMResourcePoolType>] [-ComputerName <String[]>]
[<CommonParameters>]
Disable-VMResourceMetering [-VMName] <String[]> [-ComputerName <String[]>] [<CommonParameters>]
Disable-VMResourceMetering [-VM] <VirtualMachine[]> [<CommonParameters>]
The Disable-VMResourceMetering cmdlet disables collection of resource utilization data for a virtual machine or resource pool.
Calling this cmdlet stops collection of data and deletes data collected up to the point of the call.
After the call, Measure-VM and Measure-VMResourcePool are not usable.
<
Measure-VM
Measure-VMResourcePool
Enable-VMResourceMetering
<
Example 1
PS C:\>Disable-VMResourceMetering –VMName TestVM
Disables collection of resource utilization data on a virtual machine named TestVM.
Example 2
PS C:\>Get-VM Test* | Disable-VMResourceMetering
Disables collection of resource utilization data on a set of virtual machines whose names begin with the string Test.
Example 3
PS C:\>Disable-VMResourceMetering –ResourcePoolName TestResourcePool –ResourcePoolType Memory
Disables collection of resource utilization data collection on a resource pool named TestResourcePool of type Memory.