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.
Full Answer
The Disable-VMResourceMetering cmdlet disables collection of resource utilization data for a virtual machine or resource pool.
Disables collection of resource utilization data on a virtual machine named TestVM.
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.
The Enable-VMResourceMetering cmdlet starts collecting resource utilization data for a virtual machine or resource pool.
This example starts collecting resource utilization data on a virtual machine named TestVM.
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.