what cmdlet is used to stop vmresourcemetering? course hero

by Prof. Jayde Shanahan Jr. 6 min read

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

Description

The Disable-VMResourceMetering cmdlet disables collection of resource utilization data for a virtual machine or resource pool.

Examples

Disables collection of resource utilization data on a virtual machine named TestVM.

Parameters

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.

Description

The Enable-VMResourceMetering cmdlet starts collecting resource utilization data for a virtual machine or resource pool.

Examples

This example starts collecting resource utilization data on a virtual machine named TestVM.

Parameters

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.

image