PowerShell Logo Small

Disable-VMResourceMetering



This is the built-in help made by Microsoft for the command 'Disable-VMResourceMetering', 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

Disables collection of resource utilization data for a virtual machine or resource pool.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=306830
Measure-VM
Measure-VMResourcePool
Enable-VMResourceMetering

REMARKS

<

Examples


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 on a resource pool named TestResourcePool of type Memory.