Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Enable-VMResourceMetering

$
0
0

Hi,

Im trying to enable VMResourceMetering for all VM's on a Windows Server 2012 R2 hyper-v host.

Using command:

get-vm | enable-VMResourceMetering

Some of the VM's report a failure when I'm running the command while some VM's will be successfully enabled with VMResourceMetering.

Does anyone have an idea why some fail? Is there any requirements for enabling resourcemetering?

Error Message:

enable-VMResourceMetering : The operation failed.
A parameter that is not valid was passed to the operation.
At line:1 char:58
+ get-vm | enable-VMResourceMeteri ...
+                                                          ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Enable-VMResourceMetering]
   , VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.EnableVMResourceMeteringCommand


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>