Enabling VM resource metering......

pjd007pjd007 Posts: 277Member ■■■□□□□□□□
I've got VM's running via my Win 8.1 PC and I'm trying to get this working I get the below error:

PS C:\Windows\system32> Enable-VMResourceMetering
cmdlet Enable-VMResourceMetering at command pipeline position 1
Supply values for the following parameters:
VMName[0]: dc1
VMName[1]:
Enable-VMResourceMetering : A parameter is invalid. Hyper-V was unable to find a virtual machine
with name dc1.
At line:1 char:1
+ Enable-VMResourceMetering
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (dc1:String) [Enable-VMResourceMetering], Virtualizat
ionInvalidArgumentException
+ FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.EnableVMResource
MeteringCommand



I added DC1 into the host file just to see if it was a name resolution problem (and after I did this I can ping the VM) but that hasn't resolved it, any ideas ?

Thanks.

Edit. LOL it turns out I wasn't running powershell ISE as administrator, idiot ! :)
Sign In or Register to comment.